From 7fc5d21bbf6ad5fd7396fc63222b577b6aa5a131 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Thu, 26 Dec 2013 01:24:04 +0100 Subject: [PATCH] Fixed build --- glm/gtx/vector_angle.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtx/vector_angle.inl b/glm/gtx/vector_angle.inl index c51dfb4c..c361314b 100644 --- a/glm/gtx/vector_angle.inl +++ b/glm/gtx/vector_angle.inl @@ -36,7 +36,7 @@ namespace glm { GLM_STATIC_ASSERT(std::numeric_limits::is_iec559, "'angle' only accept floating-point inputs"); - genType const Angle(acos(clamp(dot(x, y), T(0), T(1))); + T const Angle(acos(clamp(dot(x, y), T(0), T(1)))); #ifdef GLM_FORCE_RADIANS return Angle;