summaryrefslogtreecommitdiffstats
path: root/src/variant/basis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/variant/basis.cpp')
-rw-r--r--src/variant/basis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/variant/basis.cpp b/src/variant/basis.cpp
index 2e8db7a..8f78d9f 100644
--- a/src/variant/basis.cpp
+++ b/src/variant/basis.cpp
@@ -261,7 +261,7 @@ Basis Basis::scaled_orthogonal(const Vector3 &p_scale) const {
Basis b;
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
- 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)));
}
}
m.scale_local(Vector3(1, 1, 1) + dots);