/// <summary>
 /// Convert from bullet matrix to serializable math matrix
 /// </summary>
 public static GameSystem.GameCore.SerializableMath.Matrix4x4 ToSerializable(this BulletSharp.Math.Matrix m)
 {
     return(new GameSystem.GameCore.SerializableMath.Matrix4x4(m.ToArray()));
 }
Exemplo n.º 2
0
 public static Matrix ToSharpDXMatrix(this BulletSharp.Math.Matrix m)
 {
     return(new Matrix(m.ToArray()));
 }