diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-09-04 07:48:14 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-09-04 07:49:42 -0300 |
commit | 6d233c651b21ecaef78fbb20d0365a22919b72b1 (patch) | |
tree | a8be9cc8446853e7d0ad5a017ce4916145175a23 /core/math/matrix3.h | |
parent | 3873362b3df0c1c03746225f8e43b629bd0864cc (diff) |
-Changed KinematicBody API yet again to make it friendlier
-Fixed get_scale functions (and added set_scale) to make it more coherent when decomposing and composing (fixes bugs in transform interpolation)
Diffstat (limited to 'core/math/matrix3.h')
-rw-r--r-- | core/math/matrix3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/math/matrix3.h b/core/math/matrix3.h index 9c9080ac46..23429888e0 100644 --- a/core/math/matrix3.h +++ b/core/math/matrix3.h @@ -97,7 +97,9 @@ public: void scale(const Vector3 &p_scale); Basis scaled(const Vector3 &p_scale) const; + void set_scale(const Vector3 &p_scale); Vector3 get_scale() const; + Vector3 get_signed_scale() const; // transposed dot products _FORCE_INLINE_ real_t tdotx(const Vector3 &v) const { |