Commit 8e6e91f2 by Marcel Admiraal

Remove unnecessary check for zero determinant in Basis::orthonormalize().

parent 5e5103f4
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment