mirror of
https://github.com/g-truc/glm.git
synced 2024-11-12 21:31:47 +00:00
Fixed implicit conversion on Clang Android #824
This commit is contained in:
parent
980dfabcd7
commit
3ffcfb8f12
@ -210,7 +210,7 @@ namespace glm
|
|||||||
# elif((GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS)))
|
# elif((GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS)))
|
||||||
return detail::nextafter(x, std::numeric_limits<double>::max());
|
return detail::nextafter(x, std::numeric_limits<double>::max());
|
||||||
# elif(GLM_PLATFORM & GLM_PLATFORM_ANDROID)
|
# elif(GLM_PLATFORM & GLM_PLATFORM_ANDROID)
|
||||||
return __builtin_nextafter(x, FLT_MAX);
|
return __builtin_nextafter(x, DBL_MAX);
|
||||||
# else
|
# else
|
||||||
return nextafter(x, DBL_MAX);
|
return nextafter(x, DBL_MAX);
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user