diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-04-14 17:17:43 +0100 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-04-14 17:20:45 +0100 |
commit | 8e6e91f2cdac651bc3815bd3f7220b98ab64326d (patch) | |
tree | 1f00bd21acbe23a7da0ba42bf262ced9bc4ee23b /core/math | |
parent | 5e5103f460f406899582e4307e56882401fd37d5 (diff) |
Remove unnecessary check for zero determinant in Basis::orthonormalize().
Diffstat (limited to 'core/math')
-rw-r--r-- | core/math/basis.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/math/basis.cpp b/core/math/basis.cpp index 14079f811d..0f519a20d8 100644 --- a/core/math/basis.cpp +++ b/core/math/basis.cpp @@ -77,10 +77,6 @@ void Basis::invert() { void Basis::orthonormalize() { -#ifdef MATH_CHECKS - ERR_FAIL_COND(determinant() == 0); -#endif - // Gram-Schmidt Process Vector3 x = get_axis(0); |