From 72a6f35a8e8649229420bee80a8cabb087d1d56a Mon Sep 17 00:00:00 2001 From: Joshua Moerman Date: Fri, 19 Sep 2014 15:08:26 +0200 Subject: [PATCH] Fixes typo --- glm/gtx/rotate_vector.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtx/rotate_vector.inl b/glm/gtx/rotate_vector.inl index 8e190c58..fa56ff15 100644 --- a/glm/gtx/rotate_vector.inl +++ b/glm/gtx/rotate_vector.inl @@ -25,7 +25,7 @@ namespace glm T SinAlpha = sin(Alpha); // this breaks down when SinAlpha = 0, i.e. Alpha = 0 or pi T t1 = sin((static_cast(1) - a) * Alpha) / SinAlpha; - T t2 = sin(a * Alpha) / sinAlpha; + T t2 = sin(a * Alpha) / SinAlpha; // interpolate src vectors return x * t1 + y * t2;