Merge pull request #648 from Sillamacka/FixStrayParenthesis

Fixed stray ')' that was breaking gtx/matrix_interpolation. #648
master
Christophe ago%!(EXTRA string=8 years) committed by GitHub
commit 34b5c4623b
  1. 2
      glm/gtx/matrix_interpolation.inl

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

Loading…
Cancel
Save