mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 18:24:35 +00:00
Merge pull request #648 from Sillamacka/FixStrayParenthesis
Fixed stray ')' that was breaking gtx/matrix_interpolation. #648
This commit is contained in:
commit
34b5c4623b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user