From 0ca6a444541f3faf993c384e1d25f04c185d4eec Mon Sep 17 00:00:00 2001 From: Magnus Bergsten Date: Sat, 1 Jul 2017 02:51:31 +0900 Subject: [PATCH] Fixed stray ')' that was breaking gtx/matrix_interpolation. --- glm/gtx/matrix_interpolation.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtx/matrix_interpolation.inl b/glm/gtx/matrix_interpolation.inl index 3ba49df0..b3954499 100644 --- a/glm/gtx/matrix_interpolation.inl +++ b/glm/gtx/matrix_interpolation.inl @@ -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(1)) < epsilon) + if (angleCos - static_cast(1) < epsilon) angle = pi() * static_cast(0.25); else angle = acos(angleCos);