public void CreateGlobalTransformTest() { Matrix4 m4; MatrixFloat4x4 m4x4; using (var obj = new MDLObject()) { m4 = MDLTransform.CreateGlobalTransform(obj, 0); Asserts.AreEqual((Matrix4)MatrixFloat4x4.Transpose(CFunctions.MDLTransform_CreateGlobalTransform(obj, 0)), m4, "CreateGlobalTransform"); m4x4 = MDLTransform.CreateGlobalTransform4x4(obj, 0); Asserts.AreEqual(CFunctions.MDLTransform_CreateGlobalTransform(obj, 0), m4, "CreateGlobalTransform4x4"); } }