summaryrefslogtreecommitdiffstats
path: root/core/math/basis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/basis.cpp')
-rw-r--r--core/math/basis.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/math/basis.cpp b/core/math/basis.cpp
index e6bf6110f7..9981b673ed 100644
--- a/core/math/basis.cpp
+++ b/core/math/basis.cpp
@@ -327,6 +327,7 @@ void Basis::rotate_local(const Vector3 &p_axis, real_t p_phi) {
// M -> (M.R.Minv).M = M.R.
*this = rotated_local(p_axis, p_phi);
}
+
Basis Basis::rotated_local(const Vector3 &p_axis, real_t p_phi) const {
return (*this) * Basis(p_axis, p_phi);
}