Merge pull request #37877 from madmiraal/fix-14864
Remove unnecessary check for zero determinant in Basis::orthonormalize().
This commit is contained in:
commit
1d8a9a9dc8
|
@ -77,10 +77,6 @@ void Basis::invert() {
|
||||||
|
|
||||||
void Basis::orthonormalize() {
|
void Basis::orthonormalize() {
|
||||||
|
|
||||||
#ifdef MATH_CHECKS
|
|
||||||
ERR_FAIL_COND(determinant() == 0);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Gram-Schmidt Process
|
// Gram-Schmidt Process
|
||||||
|
|
||||||
Vector3 x = get_axis(0);
|
Vector3 x = get_axis(0);
|
||||||
|
|
Loading…
Reference in New Issue