Skip to content

Commit

Permalink
Fixed stray ')' that was breaking gtx/matrix_interpolation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Bergsten committed Jun 30, 2017
1 parent 26b3e3e commit 0ca6a44
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 0ca6a44

Please sign in to comment.