git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1236 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
chrisf
2007-07-14 07:43:50 +00:00
parent 4830edecf8
commit 73682d80d6
11 changed files with 42 additions and 40 deletions

View File

@@ -43,5 +43,10 @@ namespace OpenRa.Game
}
public static readonly float2 Zero = new float2(0, 0);
public static float2 operator /(float2 a, float2 b)
{
return new float2(a.X / b.X, a.Y / b.Y);
}
}
}