From ac6fd195102641f53c161cec4f560b69cedbf241 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Tue, 8 Feb 2011 23:54:58 +0000 Subject: [PATCH] Added comment with slerp equation --- glm/gtc/quaternion.inl | 1 + 1 file changed, 1 insertion(+) diff --git a/glm/gtc/quaternion.inl b/glm/gtc/quaternion.inl index a445c182..df9d65d4 100644 --- a/glm/gtc/quaternion.inl +++ b/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 inline detail::tquat mix (