Tentative fix for GCC 6
This commit is contained in:
parent
990222edfe
commit
007a97216a
@ -652,7 +652,7 @@ namespace detail
|
|||||||
{
|
{
|
||||||
GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'isnan' only accept floating-point inputs");
|
GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'isnan' only accept floating-point inputs");
|
||||||
|
|
||||||
return detail::functor1<L, bool, T, Q>::call(isnan, x);
|
return detail::functor1<L, bool, T, Q>::call(glm::isnan, x);
|
||||||
}
|
}
|
||||||
|
|
||||||
# if GLM_HAS_CXX11_STL
|
# if GLM_HAS_CXX11_STL
|
||||||
@ -691,7 +691,7 @@ namespace detail
|
|||||||
{
|
{
|
||||||
GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'isnan' only accept floating-point inputs");
|
GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'isnan' only accept floating-point inputs");
|
||||||
|
|
||||||
return detail::functor1<L, bool, T, Q>::call(isinf, x);
|
return detail::functor1<L, bool, T, Q>::call(glm::isinf, x);
|
||||||
}
|
}
|
||||||
|
|
||||||
GLM_FUNC_QUALIFIER int floatBitsToInt(float const& v)
|
GLM_FUNC_QUALIFIER int floatBitsToInt(float const& v)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user