aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite
diff options
context:
space:
mode:
authorChaplain <aionthefirst@gmail.com>2012-01-14 13:40:29 +0300
committerChaplain <aionthefirst@gmail.com>2012-01-14 13:40:29 +0300
commit99c8399772701af9bf3c79e4c514aead57cdc7d6 (patch)
tree2d1fb6b36010f6eed16f8e74e4cedb8cc5ac2d79 /dep/g3dlite
parent249b2bb534a82c9c44c19f1fa681e462801471f4 (diff)
Dependencies/G3D: Fix typo in isNaN(float x).
*In original G3D svn it was fixed long time ago.
Diffstat (limited to 'dep/g3dlite')
-rw-r--r--dep/g3dlite/source/g3dmath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/g3dlite/source/g3dmath.cpp b/dep/g3dlite/source/g3dmath.cpp
index 84e8345bff4..e846f8c6080 100644
--- a/dep/g3dlite/source/g3dmath.cpp
+++ b/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;
}