コード例 #1
0
ファイル: Matrix44DTest.cs プロジェクト: Zolniu/DigitalRune
        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);
        }