mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
Added comment with slerp equation
This commit is contained in:
parent
ab20db721e
commit
ac6fd19510
@ -327,6 +327,7 @@ namespace quaternion{
|
|||||||
q1.w * q2.z + q1.z * q2.w + q1.x * q2.y - q1.y * q2.x);
|
q1.w * q2.z + q1.z * q2.w + q1.x * q2.y - q1.y * q2.x);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// (x * sin(1 - a) * angle / sin(angle)) + (y * sin(a) * angle / sin(angle))
|
||||||
template <typename T>
|
template <typename T>
|
||||||
inline detail::tquat<T> mix
|
inline detail::tquat<T> mix
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user