Added comment with slerp equation

master
Christophe Riccio ago%!(EXTRA string=14 years)
parent ab20db721e
commit ac6fd19510
  1. 1
      glm/gtc/quaternion.inl

@ -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
(

Loading…
Cancel
Save