From 6335627796ed5e8eec36c8eb7044c5e28748af8f Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sat, 11 Jan 2014 23:23:21 +0100 Subject: [PATCH] Fixed build --- glm/detail/type_mat2x2.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/detail/type_mat2x2.inl b/glm/detail/type_mat2x2.inl index feed336a..85e79baa 100644 --- a/glm/detail/type_mat2x2.inl +++ b/glm/detail/type_mat2x2.inl @@ -398,7 +398,7 @@ namespace detail { GLM_FUNC_QUALIFIER static detail::tmat2x2 call(detail::tmat2x2 const & m) { - T OneOverDeterminant = static_cast<>(1) / ( + T OneOverDeterminant = static_cast(1) / ( + m[0][0] * m[1][1] - m[1][0] * m[0][1]);