Merge pull request #4814 from Chaplain/master

Dependencies/G3D: Fix typo in isNaN(float x)
This commit is contained in:
Shocker
2012-01-14 02:51:36 -08:00

View File

@@ -41,7 +41,7 @@ double inf() {
}
bool isNaN(float x) {
static const float n = nan();
static const float n = fnan();
return memcmp(&x, &n, sizeof(float)) == 0;
}