From 5d0ed4f27c431a9aee5bf9fb6b0fb6518c31dc73 Mon Sep 17 00:00:00 2001 From: Lynix Date: Thu, 22 Aug 2013 10:50:39 +0200 Subject: [PATCH] Removed warning when Matrix4 is not invertible Former-commit-id: d16c6153dfafadc628cb9af9e4ed707045833616 --- include/Nazara/Math/Matrix4.inl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/Nazara/Math/Matrix4.inl b/include/Nazara/Math/Matrix4.inl index 97a1b92ee..75d9fcbc4 100644 --- a/include/Nazara/Math/Matrix4.inl +++ b/include/Nazara/Math/Matrix4.inl @@ -322,10 +322,7 @@ bool NzMatrix4::GetInverse(NzMatrix4* dest) const return true; } else - { - NazaraError("Matrix has no inverse"); return false; - } } template @@ -421,10 +418,7 @@ bool NzMatrix4::GetInverseAffine(NzMatrix4* dest) const return true; } else - { - NazaraError("Matrix has no inverse"); return false; - } } template