Esempio n. 1
0
        public void DecomposeShouldFail()
        {
            Matrix44D matrix = new Matrix44D();

              Vector3D scaleOfMatrix;
              QuaternionD rotationOfMatrix;
              Vector3D translationOfMatrix;
              bool result = matrix.Decompose(out scaleOfMatrix, out rotationOfMatrix, out translationOfMatrix);
              Assert.IsFalse(result);

              matrix = new Matrix44D(rowMajor, MatrixOrder.RowMajor);
              result = matrix.Decompose(out scaleOfMatrix, out rotationOfMatrix, out translationOfMatrix);
              Assert.IsFalse(result);
        }