Beispiel #1
0
        public static Matrix4x4 FromTKMatrix(Matrix4d input)
        {
            Matrix4 fm = MTransform.GetFloatMatrix(input);

            return(new Matrix4x4(fm.M11, fm.M21, fm.M31, fm.M41,
                                 fm.M12, fm.M22, fm.M32, fm.M42,
                                 fm.M13, fm.M23, fm.M33, fm.M43,
                                 fm.M14, fm.M24, fm.M34, fm.M44));
        }