mirror of
https://github.com/g-truc/glm.git
synced 2024-12-01 20:24:38 +00:00
Fixed VC warning
This commit is contained in:
parent
ff3ad788df
commit
ac0c938442
@ -809,7 +809,7 @@ namespace detail
|
|||||||
GLM_STATIC_ASSERT(detail::type<genType>::is_float, "'isnan' only accept floating-point inputs");
|
GLM_STATIC_ASSERT(detail::type<genType>::is_float, "'isnan' only accept floating-point inputs");
|
||||||
|
|
||||||
# if(GLM_COMPILER & GLM_COMPILER_VC)
|
# if(GLM_COMPILER & GLM_COMPILER_VC)
|
||||||
return _isnan(x);
|
return _isnan(x) != 0;
|
||||||
# elif(GLM_COMPILER & GLM_COMPILER_GCC)
|
# elif(GLM_COMPILER & GLM_COMPILER_GCC)
|
||||||
# if(GLM_PLATFORM & GLM_PLATFORM_ANDROID)
|
# if(GLM_PLATFORM & GLM_PLATFORM_ANDROID)
|
||||||
return _isnan(x) != 0;
|
return _isnan(x) != 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user