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 321af5b + 7670de8 commit 70d8ff0Copy full SHA for 70d8ff0
src/variant/basis.cpp
@@ -272,7 +272,7 @@ Basis Basis::scaled_orthogonal(const Vector3 &p_scale) const {
272
Vector3 dots;
273
for (int i = 0; i < 3; i++) {
274
for (int j = 0; j < 3; j++) {
275
- 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)));
276
}
277
278
if (sign != std::signbit(dots.x + dots.y + dots.z)) {
0 commit comments