Added comment with slerp equation

This commit is contained in:
Christophe Riccio 2011-02-08 23:54:58 +00:00
parent ab20db721e
commit ac6fd19510

View File

@ -327,6 +327,7 @@ namespace quaternion{
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>
inline detail::tquat<T> mix
(