mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 09:14:34 +00:00
Fixed nextafterf on Visual C++
This commit is contained in:
parent
a422706f1e
commit
d1571fd15f
@ -169,11 +169,7 @@ namespace detail
|
|||||||
}//namespace glm
|
}//namespace glm
|
||||||
|
|
||||||
#if(GLM_COMPILER & GLM_COMPILER_VC)
|
#if(GLM_COMPILER & GLM_COMPILER_VC)
|
||||||
# if(GLM_MODEL == GLM_MODEL_32)
|
# define GLM_NEXT_AFTER_FLT(x, toward) glm::detail::nextafterf((x), (toward))
|
||||||
# define GLM_NEXT_AFTER_FLT(x, toward) glm::detail::nextafterf((x), (toward))
|
|
||||||
# else
|
|
||||||
# define GLM_NEXT_AFTER_FLT(x, toward) _nextafterf((x), (toward))
|
|
||||||
# endif
|
|
||||||
# define GLM_NEXT_AFTER_DBL(x, toward) _nextafter((x), (toward))
|
# define GLM_NEXT_AFTER_DBL(x, toward) _nextafter((x), (toward))
|
||||||
#else
|
#else
|
||||||
# define GLM_NEXT_AFTER_FLT(x, toward) nextafterf((x), (toward))
|
# define GLM_NEXT_AFTER_FLT(x, toward) nextafterf((x), (toward))
|
||||||
|
Loading…
Reference in New Issue
Block a user