Fixed stray ')' that was breaking gtx/matrix_interpolation.

This commit is contained in:
Magnus Bergsten 2017-07-01 02:51:31 +09:00
parent 26b3e3ed78
commit 0ca6a44454

View File

@ -75,7 +75,7 @@ namespace glm
if (glm::abs(s) < T(0.001))
s = (T)1.0;
T const angleCos = (mat[0][0] + mat[1][1] + mat[2][2] - (T)1.0) * (T)0.5;
if (angleCos - static_cast<T>(1)) < epsilon)
if (angleCos - static_cast<T>(1) < epsilon)
angle = pi<T>() * static_cast<T>(0.25);
else
angle = acos(angleCos);