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.
1 parent 3c06526 commit 5e6df6aCopy full SHA for 5e6df6a
core/math/basis.cpp
@@ -268,7 +268,7 @@ Basis Basis::scaled_orthogonal(const Vector3 &p_scale) const {
268
Vector3 dots;
269
for (int i = 0; i < 3; i++) {
270
for (int j = 0; j < 3; j++) {
271
- dots[j] += s[i] * abs(m.get_column(i).normalized().dot(b.get_column(j)));
+ dots[j] += s[i] * Math::abs(m.get_column(i).normalized().dot(b.get_column(j)));
272
}
273
274
if (sign != signbit(dots.x + dots.y + dots.z)) {
0 commit comments