feat: updated godot version

This commit is contained in:
Sara Gerretsen 2026-04-04 19:38:56 +02:00
parent 0c508b0831
commit 42b028dbb5
4694 changed files with 236470 additions and 401376 deletions

View file

@ -38,15 +38,9 @@ void Plane::set_normal(const Vector3 &p_normal) {
}
void Plane::normalize() {
#ifdef MATH_CHECKS
if (!is_finite()) {
WARN_PRINT("Plane cannot be normalized, the distance and the normal should be finite.");
}
#endif // MATH_CHECKS
real_t l = normal.length();
if (l == 0) {
zero();
*this = Plane(0, 0, 0, 0);
return;
}
normal /= l;