diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-27 13:20:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 13:20:02 +0200 |
commit | 89527db8d31ed1c7b17c9e430e94bda88d80432b (patch) | |
tree | f1e0b551dfc8dd944f044d5958d72a4a99379dc9 /core/math/quaternion.h | |
parent | 57ac63872435010effce42a8fc06958cb9dfea46 (diff) | |
parent | e252d4e6fecd89eb3329727613152f6115147db0 (diff) |
Merge pull request #63380 from V-Sekai/fix-cubic-slerp-dot
Diffstat (limited to 'core/math/quaternion.h')
-rw-r--r-- | core/math/quaternion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/quaternion.h b/core/math/quaternion.h index 9801746659..684e7cb091 100644 --- a/core/math/quaternion.h +++ b/core/math/quaternion.h @@ -74,7 +74,7 @@ struct _NO_DISCARD_ Quaternion { Quaternion cubic_slerp(const Quaternion &p_b, const Quaternion &p_pre_a, const Quaternion &p_post_b, const real_t &p_weight) const; Vector3 get_axis() const; - float get_angle() const; + real_t get_angle() const; _FORCE_INLINE_ void get_axis_angle(Vector3 &r_axis, real_t &r_angle) const { r_angle = 2 * Math::acos(w); |