Browse Source

Added comment with slerp equation

Christophe Riccio 15 years ago
parent
commit
ac6fd19510
1 changed files with 1 additions and 0 deletions
  1. 1 0
      glm/gtc/quaternion.inl

+ 1 - 0
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);
 	        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
 	(
 	(