Browse Source

Update mMatrix.h

returning identity no longer necessary as fullinverse is its own algo
marauder2k7 1 năm trước cách đây
mục cha
commit
219792cc30
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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.
       if (std::abs(augmentedMatrix(i, i)) < pivot_eps)
       {
-         this->identity();
          return *this;
       }