Explosion refactor TEST MERG (#6995)
* Explosions * fix yaml typo and prevent silly UI inputs * oop Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
This commit is contained in:
@@ -234,6 +234,11 @@ namespace Content.Shared.FixedPoint
|
||||
_value == unit._value;
|
||||
}
|
||||
|
||||
public bool EqualsApprox(FixedPoint2 other, FixedPoint2 tolerance)
|
||||
{
|
||||
return Math.Abs(_value - other._value) < tolerance._value;
|
||||
}
|
||||
|
||||
public override readonly int GetHashCode()
|
||||
{
|
||||
// ReSharper disable once NonReadonlyMemberInGetHashCode
|
||||
|
||||
Reference in New Issue
Block a user