From f84a38e4b37b2c8d1bb48050e17361a14627b8e5 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Thu, 13 Oct 2011 19:16:41 +0100 Subject: [PATCH] Updated error message for unsuported log2 types --- glm/core/func_exponential.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/core/func_exponential.inl b/glm/core/func_exponential.inl index c1ffee92..10960c0f 100644 --- a/glm/core/func_exponential.inl +++ b/glm/core/func_exponential.inl @@ -232,7 +232,7 @@ namespace detail template T operator() (T const & Value) const { - static_assert(0, "'log2' parameter has an invalid template parameter type"); + static_assert(0, "'log2' parameter has an invalid template parameter type. GLM core features only supports floating-point types, include for integer types support. Others types are not supported."); return Value; } };