public void ToXna() { Matrix44F v = new Matrix44F(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16); Matrix xna = v.ToXna(); Assert.AreEqual(xna.M11, v.M00); Assert.AreEqual(xna.M12, v.M10); Assert.AreEqual(xna.M13, v.M20); Assert.AreEqual(xna.M14, v.M30); Assert.AreEqual(xna.M21, v.M01); Assert.AreEqual(xna.M22, v.M11); Assert.AreEqual(xna.M23, v.M21); Assert.AreEqual(xna.M24, v.M31); Assert.AreEqual(xna.M31, v.M02); Assert.AreEqual(xna.M32, v.M12); Assert.AreEqual(xna.M33, v.M22); Assert.AreEqual(xna.M34, v.M32); Assert.AreEqual(xna.M41, v.M03); Assert.AreEqual(xna.M42, v.M13); Assert.AreEqual(xna.M43, v.M23); Assert.AreEqual(xna.M44, v.M33); }