コード例 #1
0
 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;
 }
コード例 #2
0
 public static SharpDX.Vector3 Vector3EUCtoSDX(MathObjects.Vector3 vec)
 {
     return new SharpDX.Vector3(vec.X, vec.Y, vec.Z);
 }
コード例 #3
0
 public static SharpDX.Vector2 Vector2EUCtoSDX(MathObjects.Vector2 vec)
 {
     return new SharpDX.Vector2(vec.X, vec.Y);
 }