Remove unnecessary check for zero determinant in Basis::orthonormalize().
This commit is contained in:
parent
5e5103f460
commit
8e6e91f2cd
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue