diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-14 19:05:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 19:05:01 +0200 |
commit | 1d8a9a9dc858f16f91bd5086826fddeb0610126b (patch) | |
tree | 252ab408f40717496a8c8aa43eb2a3f2b927e007 /core | |
parent | 59a8af210616bbfdb4380eb9f4d3b7973e4bea6b (diff) | |
parent | 8e6e91f2cdac651bc3815bd3f7220b98ab64326d (diff) |
Merge pull request #37877 from madmiraal/fix-14864
Remove unnecessary check for zero determinant in Basis::orthonormalize().
Diffstat (limited to 'core')
-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); |