Remove fp from facing calculation.

This commit is contained in:
Paul Chote
2011-01-27 12:00:40 +13:00
parent ad0e0a18bd
commit 9db41f5638
2 changed files with 9 additions and 7 deletions

View File

@@ -78,5 +78,8 @@ namespace OpenRA
return new int2(Math.Min(r.Right, Math.Max(X, r.Left)),
Math.Min(r.Bottom, Math.Max(Y, r.Top)));
}
public static int Dot(int2 a, int2 b) { return a.X * b.X + a.Y * b.Y; }
}
}