mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 09:14:34 +00:00
Updated error message for unsuported log2 types
This commit is contained in:
parent
742013f6d3
commit
f84a38e4b3
@ -232,7 +232,7 @@ namespace detail
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
T operator() (T const & Value) const
|
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 <glm/gtx/integer.hpp> for integer types support. Others types are not supported.");
|
||||||
return Value;
|
return Value;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user