From 3356896a3aa6fb8894991d0d7dff13c5ee644349 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Mon, 31 Aug 2015 22:21:03 +0200 Subject: [PATCH] Fixed build --- glm/detail/func_trigonometric.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/detail/func_trigonometric.inl b/glm/detail/func_trigonometric.inl index ad738499..f723de47 100644 --- a/glm/detail/func_trigonometric.inl +++ b/glm/detail/func_trigonometric.inl @@ -53,7 +53,7 @@ namespace glm // degrees template - GLM_FUNC_QUALIFIER genType degrees(genType radians) + GLM_FUNC_QUALIFIER GLM_CONSTEXPR genType degrees(genType radians) { GLM_STATIC_ASSERT(std::numeric_limits::is_iec559, "'degrees' only accept floating-point input"); @@ -61,7 +61,7 @@ namespace glm } template class vecType> - GLM_FUNC_QUALIFIER vecType degrees(vecType const & v) + GLM_FUNC_QUALIFIER GLM_CONSTEXPR vecType degrees(vecType const & v) { return detail::functor1::call(degrees, v); }