replace isfinite with std::isfinite

This commit is contained in:
Garrett Brown
2020-10-17 22:40:07 -04:00
parent 1b74b34cce
commit dfd8c84d43
+1 -1
View File
@@ -31,7 +31,7 @@
/// This function is used to ensure that a floating point number is not a NaN or infinity.
inline bool b2IsValid(float x)
{
return isfinite(x);
return std::isfinite(x);
}
#define b2Sqrt(x) sqrtf(x)