summaryrefslogtreecommitdiff
path: root/core/math/transform_3d.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-05 16:05:40 +0100
committerGitHub <noreply@github.com>2022-01-05 16:05:40 +0100
commit6af77c7b090f9e49aa5176783bf7350f8f6ec2e2 (patch)
treea46a85b8ee4ea4cdeca267dcaf38670a62243cdf /core/math/transform_3d.h
parentbb4157a9afbce9adfa95c69ee20442590d4d66de (diff)
parent61759da5b35e44003ab3ffe3d4024dd611d17eff (diff)
Merge pull request #53684 from TokageItLab/orthogonal-mode
Diffstat (limited to 'core/math/transform_3d.h')
-rw-r--r--core/math/transform_3d.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/math/transform_3d.h b/core/math/transform_3d.h
index 4356aa4e79..c0ef2ecfc1 100644
--- a/core/math/transform_3d.h
+++ b/core/math/transform_3d.h
@@ -69,6 +69,8 @@ public:
void orthonormalize();
Transform3D orthonormalized() const;
+ void orthogonalize();
+ Transform3D orthogonalized() const;
bool is_equal_approx(const Transform3D &p_transform) const;
bool operator==(const Transform3D &p_transform) const;
@@ -99,6 +101,7 @@ public:
void operator*=(const real_t p_val);
Transform3D operator*(const real_t p_val) const;
+ Transform3D sphere_interpolate_with(const Transform3D &p_transform, real_t p_c) const;
Transform3D interpolate_with(const Transform3D &p_transform, real_t p_c) const;
_FORCE_INLINE_ Transform3D inverse_xform(const Transform3D &t) const {