Removed warning when Matrix4 is not invertible

Former-commit-id: d16c6153dfafadc628cb9af9e4ed707045833616
This commit is contained in:
Lynix
2013-08-22 10:50:39 +02:00
parent 198d13be20
commit 5d0ed4f27c

View File

@@ -322,11 +322,8 @@ bool NzMatrix4<T>::GetInverse(NzMatrix4* dest) const
return true;
}
else
{
NazaraError("Matrix has no inverse");
return false;
}
}
template<typename T>
bool NzMatrix4<T>::GetInverseAffine(NzMatrix4* dest) const
@@ -421,11 +418,8 @@ bool NzMatrix4<T>::GetInverseAffine(NzMatrix4* dest) const
return true;
}
else
{
NazaraError("Matrix has no inverse");
return false;
}
}
template<typename T>
NzQuaternion<T> NzMatrix4<T>::GetRotation() const