You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Remove unnecessary check for zero determinant in Basis::orthonormalize().
(cherry picked from commit 8e6e91f2cd)
This commit is contained in:
committed by
Rémi Verschelde
parent
3e71992eda
commit
e869da9665
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user