mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
MATH: Make slerpQuat const
This commit is contained in:
parent
8ff0ce6bd9
commit
f6775fab96
@ -73,7 +73,7 @@ Quaternion Quaternion::zAxis(const Angle &angle) {
|
||||
return q;
|
||||
}
|
||||
|
||||
Quaternion Quaternion::slerpQuat(const Quaternion& to, const float t) {
|
||||
Quaternion Quaternion::slerpQuat(const Quaternion& to, const float t) const {
|
||||
Quaternion dst;
|
||||
float scale0, scale1;
|
||||
float flip = 1.0f;
|
||||
|
@ -189,7 +189,7 @@ public:
|
||||
* @param t factor to slerp by.
|
||||
* @return the resulting quaternion.
|
||||
*/
|
||||
Quaternion slerpQuat(const Quaternion& to, const float t);
|
||||
Quaternion slerpQuat(const Quaternion& to, const float t) const;
|
||||
|
||||
/**
|
||||
* Get the direction vector specified by col
|
||||
|
Loading…
Reference in New Issue
Block a user