Fixes typo

This commit is contained in:
Joshua Moerman 2014-09-19 15:08:26 +02:00
parent 46e61b4f07
commit 72a6f35a8e

View File

@ -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<T>(1) - a) * Alpha) / SinAlpha;
T t2 = sin(a * Alpha) / sinAlpha;
T t2 = sin(a * Alpha) / SinAlpha;
// interpolate src vectors
return x * t1 + y * t2;