public static SharpDX.Vector3[] Vector3EUCtoSDX(MathObjects.Vector3[] vec) { SharpDX.Vector3[] vecs = new SharpDX.Vector3[vec.Length]; for (int i = 0; i < vecs.Length; i++) vecs[i] = Vector3EUCtoSDX(vec[i]); return vecs; }
public static SharpDX.Vector3 Vector3EUCtoSDX(MathObjects.Vector3 vec) { return new SharpDX.Vector3(vec.X, vec.Y, vec.Z); }
public static SharpDX.Vector2 Vector2EUCtoSDX(MathObjects.Vector2 vec) { return new SharpDX.Vector2(vec.X, vec.Y); }