2
0
Эх сурвалжийг харах

Update mMatrix.h

returning identity no longer necessary as fullinverse is its own algo
marauder2k7 1 жил өмнө
parent
commit
219792cc30

+ 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.
       if (std::abs(augmentedMatrix(i, i)) < pivot_eps)
       {
-         this->identity();
          return *this;
       }