@@ -9,6 +9,8 @@ namespace Crown
{
public struct Vector2
+ public float x, y;
+
public Vector2(float x, float y)
this.x = x;
@@ -34,7 +36,5 @@ namespace Crown
return a * k;
}
-
- public float x, y;
public struct Vector3
+ public float x, y, z;
public Vector3(float x, float y, float z)
@@ -35,7 +37,5 @@ namespace Crown
- public float x, y, z;