From f530af8bf4f82c1816a406b4230c1852f4e87913 Mon Sep 17 00:00:00 2001 From: Par Winzell Date: Thu, 3 May 2018 08:21:37 -0700 Subject: [PATCH] Use std:: whenever possible. --- src/Fbx2Raw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Fbx2Raw.cpp b/src/Fbx2Raw.cpp index 2b072d0..3f041e2 100644 --- a/src/Fbx2Raw.cpp +++ b/src/Fbx2Raw.cpp @@ -1263,7 +1263,7 @@ static void ReadAnimations(RawModel &raw, FbxScene *pScene) for (int targetIx = 0; targetIx < targetCount; targetIx++) { if (curve) { float result = findInInterval(influence, targetIx-1); - if (!isnan(result)) { + if (!std::isnan(result)) { // we're transitioning into targetIx channel.weights.push_back(result); hasMorphs = true; @@ -1271,7 +1271,7 @@ static void ReadAnimations(RawModel &raw, FbxScene *pScene) } if (targetIx != targetCount-1) { result = findInInterval(influence, targetIx); - if (!isnan(result)) { + if (!std::isnan(result)) { // we're transitioning AWAY from targetIx channel.weights.push_back(1.0f - result); hasMorphs = true;