mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Merge branch '0.9.2' into 0.9.3
This commit is contained in:
commit
bfa79b2a67
@ -800,6 +800,8 @@ namespace detail
|
||||
|
||||
#if(GLM_COMPILER & GLM_COMPILER_VC)
|
||||
return typename genType::bool_type(_isnan(x));
|
||||
#elif(defined(ANDROID))
|
||||
return typename genType::bool_type(isnan(x));
|
||||
#else
|
||||
return typename genType::bool_type(std::isnan(x));
|
||||
#endif
|
||||
@ -851,6 +853,8 @@ namespace detail
|
||||
|
||||
#if(GLM_COMPILER & GLM_COMPILER_VC)
|
||||
return typename genType::bool_type(_fpclass(x) == _FPCLASS_NINF || _fpclass(x) == _FPCLASS_PINF);
|
||||
#elif(defined(ANDROID))
|
||||
return typename genType::bool_type(isinf(x));
|
||||
#else
|
||||
return typename genType::bool_type(std::isinf(x));
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user