Merge pull request #37877 from madmiraal/fix-14864

Remove unnecessary check for zero determinant in Basis::orthonormalize().
This commit is contained in:
Rémi Verschelde 2020-04-14 19:05:01 +02:00 committed by GitHub
commit 1d8a9a9dc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -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);