Exemplo n.º 1
0
 public static System.Numerics.Vector3 ToNumerics3(this OpenToolkit.Mathematics.Vector4 vec)
 {
     return(new Vector3(vec.X, vec.Y, vec.Z));
 }
Exemplo n.º 2
0
 public static BulletSharp.Math.Vector3 ToBullet3(this OpenToolkit.Mathematics.Vector4 vec)
 {
     return(new BulletSharp.Math.Vector3(vec.X, vec.Y, vec.Z));
 }
Exemplo n.º 3
0
 public static System.Numerics.Vector4 ToNumerics4(this OpenToolkit.Mathematics.Vector4 vec)
 {
     return(new Vector4(vec.X, vec.Y, vec.Z, vec.W));
 }
Exemplo n.º 4
0
 public static BulletSharp.Math.Vector4 ToBullet4(this OpenToolkit.Mathematics.Vector4 vec)
 {
     return(new BulletSharp.Math.Vector4(vec.X, vec.Y, vec.Z, vec.W));
 }