Esempio n. 1
0
 public static Vector2 toVector2(Vector2D.Vector2D vector2d)
 {
     return(new Vector2((float)vector2d.X, (float)vector2d.Y));
 }
Esempio n. 2
0
 // Game Logic is 2D
 public static Vector3 toVector3(Vector2D.Vector2D vector2d)
 {
     return(new Vector3((float)vector2d.X, (float)vector2d.Y, 0.0f));
 }