瀏覽代碼

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