Fixed nextafter for float on Intel compiler
This commit is contained in:
parent
535f67e45e
commit
874a675bb9
@ -173,7 +173,7 @@ namespace detail
|
|||||||
|
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
|
|
||||||
#if(GLM_COMPILER & GLM_COMPILER_VC)
|
#if(GLM_COMPILER & GLM_COMPILER_VC || GLM_COMPILER & GLM_COMPILER_INTEL)
|
||||||
# define GLM_NEXT_AFTER_FLT(x, toward) glm::detail::nextafterf((x), (toward))
|
# define GLM_NEXT_AFTER_FLT(x, toward) glm::detail::nextafterf((x), (toward))
|
||||||
# define GLM_NEXT_AFTER_DBL(x, toward) _nextafter((x), (toward))
|
# define GLM_NEXT_AFTER_DBL(x, toward) _nextafter((x), (toward))
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user