remove brackets from float2.ToString conversion

This commit is contained in:
Matthias Mailänder
2014-04-28 07:37:36 +02:00
parent e861e7c07e
commit abf5c5a0eb
2 changed files with 5 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ namespace OpenRA
public static float Dot(float2 a, float2 b) { return a.X * b.X + a.Y * b.Y; }
public float2 Round() { return new float2((float)Math.Round(X), (float)Math.Round(Y)); }
public override string ToString() { return "({0},{1})".F(X, Y); }
public override string ToString() { return "{0},{1}".F(X, Y); }
public int2 ToInt2() { return new int2((int)X, (int)Y); }
public static float2 Max(float2 a, float2 b) { return new float2(Math.Max(a.X, b.X), Math.Max(a.Y, b.Y)); }