mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 18:24:35 +00:00
Fixed VC and C++98 warning
This commit is contained in:
parent
4ac8fac6f0
commit
6f9a194c2c
@ -12,7 +12,7 @@ namespace glm
|
|||||||
# if GLM_HAS_CXX11_STL
|
# if GLM_HAS_CXX11_STL
|
||||||
return std::isfinite(x) != 0;
|
return std::isfinite(x) != 0;
|
||||||
# elif GLM_COMPILER & GLM_COMPILER_VC
|
# elif GLM_COMPILER & GLM_COMPILER_VC
|
||||||
return _finite(x);
|
return _finite(x) != 0;
|
||||||
# elif GLM_COMPILER & GLM_COMPILER_GCC && GLM_PLATFORM & GLM_PLATFORM_ANDROID
|
# elif GLM_COMPILER & GLM_COMPILER_GCC && GLM_PLATFORM & GLM_PLATFORM_ANDROID
|
||||||
return _isfinite(x) != 0;
|
return _isfinite(x) != 0;
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user