summaryrefslogtreecommitdiffstats
path: root/core/math/basis.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2024-04-16 04:26:52 -0700
committerAaron Franke <arnfranke@yahoo.com>2024-04-16 04:26:52 -0700
commite83807ef85fdc5d2f2cc83c95fa086f3a7ea5bc4 (patch)
tree63e0bb4ff08111560a81990f65907f86e2cabf4d /core/math/basis.cpp
parent4728ff30c0226b9918b29a6ba494dc61eae87639 (diff)
downloadredot-engine-e83807ef85fdc5d2f2cc83c95fa086f3a7ea5bc4.tar.gz
Fix incorrect name of Basis global scale getter
Diffstat (limited to 'core/math/basis.cpp')
-rw-r--r--core/math/basis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/basis.cpp b/core/math/basis.cpp
index 84ac878172..34ed1c2d85 100644
--- a/core/math/basis.cpp
+++ b/core/math/basis.cpp
@@ -293,7 +293,7 @@ Vector3 Basis::get_scale_abs() const {
Vector3(rows[0][2], rows[1][2], rows[2][2]).length());
}
-Vector3 Basis::get_scale_local() const {
+Vector3 Basis::get_scale_global() const {
real_t det_sign = SIGN(determinant());
return det_sign * Vector3(rows[0].length(), rows[1].length(), rows[2].length());
}