Permalink
Browse files

Dependencies/G3D: Fix typo in isNaN(float x).

*In original G3D svn it was fixed long time ago.
  • Loading branch information...
1 parent 249b2bb commit 99c8399772701af9bf3c79e4c514aead57cdc7d6 @Chaplain Chaplain committed Jan 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 dep/g3dlite/source/g3dmath.cpp
@@ -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;
}

0 comments on commit 99c8399

Please sign in to comment.