소스 검색

Update mMatrix.h

returning identity no longer necessary as fullinverse is its own algo
marauder2k7 1 년 전
부모
커밋
219792cc30
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      Engine/source/math/mMatrix.h

+ 0 - 1
Engine/source/math/mMatrix.h

@@ -1492,7 +1492,6 @@ inline Matrix<DATA_TYPE, rows, cols>& Matrix<DATA_TYPE, rows, cols>::inverse()
       // Early out if pivot is 0, return identity matrix.
       // Early out if pivot is 0, return identity matrix.
       if (std::abs(augmentedMatrix(i, i)) < pivot_eps)
       if (std::abs(augmentedMatrix(i, i)) < pivot_eps)
       {
       {
-         this->identity();
          return *this;
          return *this;
       }
       }