mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Update mMatrix.h
returning identity no longer necessary as fullinverse is its own algo
This commit is contained in:
parent
165a2bea01
commit
219792cc30
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue