CreateFromMatrix() private method

private CreateFromMatrix ( Matrix &matrix, Matrix3x3 &matrix3x3 ) : void
matrix Matrix
matrix3x3 Matrix3x3
return void
Ejemplo n.º 1
0
        public static void CreateFromRotationMatrix(ref Matrix r, out Quaternion q)
        {
            Matrix3x3 rotation3x3;

            Matrix3x3.CreateFromMatrix(ref r, out rotation3x3);
            CreateFromRotationMatrix(ref rotation3x3, out q);
        }
Ejemplo n.º 2
0
        public static Quaternion CreateFromRotationMatrix(Matrix r)
        {
            Matrix3x3 rotation3x3;

            Matrix3x3.CreateFromMatrix(ref r, out rotation3x3);
            Quaternion q;

            CreateFromRotationMatrix(ref rotation3x3, out q);
            return(q);
        }