Convert ChronoshiftPower to world coords.

This commit is contained in:
Paul Chote
2013-05-14 22:06:27 +12:00
parent 79cbb7f729
commit d7e6125dd7
2 changed files with 8 additions and 4 deletions

View File

@@ -51,6 +51,7 @@ namespace OpenRA
public float2 ToFloat2() { return new float2(X, Y); }
public int2 ToInt2() { return new int2(X, Y); }
public WVec ToWVec() { return new WVec(X*1024, Y*1024, 0); }
public CVec Clamp(Rectangle r)
{