Afterglow.Graphics.SlimDXExtensions.ToMath C# (CSharp) Method

ToMath() public static method

Converts the SlimDXMatrix into our matrix.
public static ToMath ( this matrix ) : System.Matrix
matrix this The slimDX matrix.
return System.Matrix
        public static Matrix ToMath(this SlimDXMatrix matrix)
        {
            return new Matrix(
                matrix.M11, matrix.M12, matrix.M13, matrix.M14,
                matrix.M21, matrix.M22, matrix.M23, matrix.M24,
                matrix.M31, matrix.M32, matrix.M33, matrix.M34,
                matrix.M41, matrix.M42, matrix.M43, matrix.M44);
        }