We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c173cc0 + 7e6c9c9 commit 94a8fadCopy full SHA for 94a8fad
include/godot_cpp/variant/quaternion.hpp
@@ -149,7 +149,7 @@ struct [[nodiscard]] Quaternion {
149
Vector3 n0 = p_v0.normalized();
150
Vector3 n1 = p_v1.normalized();
151
real_t d = n0.dot(n1);
152
- if (abs(d) > ALMOST_ONE) {
+ if (Math::abs(d) > ALMOST_ONE) {
153
if (d >= 0) {
154
return; // Vectors are same.
155
}
0 commit comments