misc optimization (#6436)

This commit is contained in:
Leon Friedrich
2022-02-03 18:40:22 +13:00
committed by GitHub
parent 19ceda04b5
commit 0da74b1bfb
7 changed files with 138 additions and 15 deletions

View File

@@ -67,7 +67,7 @@ namespace Content.Shared.FixedPoint
=> new(a._value + b._value);
public static FixedPoint2 operator -(FixedPoint2 a, FixedPoint2 b)
=> a + -b;
=> new(a._value - b._value);
public static FixedPoint2 operator *(FixedPoint2 a, FixedPoint2 b)
{