From 99c8399772701af9bf3c79e4c514aead57cdc7d6 Mon Sep 17 00:00:00 2001 From: Chaplain Date: Sat, 14 Jan 2012 13:40:29 +0300 Subject: Dependencies/G3D: Fix typo in isNaN(float x). *In original G3D svn it was fixed long time ago. --- dep/g3dlite/source/g3dmath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dep/g3dlite/source/g3dmath.cpp') 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; } -- cgit v1.2.3