Skip to content

Commit

Permalink
Merge pull request g-truc#648 from Sillamacka/FixStrayParenthesis
Browse files Browse the repository at this point in the history
Fixed stray ')' that was breaking gtx/matrix_interpolation. g-truc#648
  • Loading branch information
Groovounet authored Jul 4, 2017
2 parents 26b3e3e + 0ca6a44 commit 34b5c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glm/gtx/matrix_interpolation.inl
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 34b5c46

Please sign in to comment.