summaryrefslogtreecommitdiffstats
path: root/core/math/quaternion.h
diff options
context:
space:
mode:
authorSilc Renew <tokage.it.lab@gmail.com>2022-07-27 21:27:51 +0900
committerSilc Renew <tokage.it.lab@gmail.com>2022-07-27 23:22:50 +0900
commit4211e68d8019a757a54a435e1c4e240a784b463b (patch)
treee1b4cb53b126f8fa7808c8b43aa40205a8e6fa10 /core/math/quaternion.h
parentcc5135959b8d7956e93c566916352f5818f008f1 (diff)
downloadredot-engine-4211e68d8019a757a54a435e1c4e240a784b463b.tar.gz
rename and unify notation for spherical interpolation
Diffstat (limited to 'core/math/quaternion.h')
-rw-r--r--core/math/quaternion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/quaternion.h b/core/math/quaternion.h
index 684e7cb091..cb54a6f540 100644
--- a/core/math/quaternion.h
+++ b/core/math/quaternion.h
@@ -71,7 +71,7 @@ struct _NO_DISCARD_ Quaternion {
Quaternion slerp(const Quaternion &p_to, const real_t &p_weight) const;
Quaternion slerpni(const Quaternion &p_to, const real_t &p_weight) const;
- Quaternion cubic_slerp(const Quaternion &p_b, const Quaternion &p_pre_a, const Quaternion &p_post_b, const real_t &p_weight) const;
+ Quaternion spherical_cubic_interpolate(const Quaternion &p_b, const Quaternion &p_pre_a, const Quaternion &p_post_b, const real_t &p_weight) const;
Vector3 get_axis() const;
real_t get_angle() const;