diff --git a/glm/detail/func_common.inl b/glm/detail/func_common.inl index ee40be7d..bdcb4cfe 100644 --- a/glm/detail/func_common.inl +++ b/glm/detail/func_common.inl @@ -652,7 +652,7 @@ namespace detail { GLM_STATIC_ASSERT(std::numeric_limits::is_iec559, "'isnan' only accept floating-point inputs"); - return detail::functor1::call(isnan, x); + return detail::functor1::call(glm::isnan, x); } # if GLM_HAS_CXX11_STL @@ -691,7 +691,7 @@ namespace detail { GLM_STATIC_ASSERT(std::numeric_limits::is_iec559, "'isnan' only accept floating-point inputs"); - return detail::functor1::call(isinf, x); + return detail::functor1::call(glm::isinf, x); } GLM_FUNC_QUALIFIER int floatBitsToInt(float const& v)