From 87bb479c8c23841fa9486f5a9d79a2595649e33f Mon Sep 17 00:00:00 2001 From: Nathan Bowhay Date: Thu, 12 Feb 2015 11:39:47 -0800 Subject: [PATCH] Check now platform independent Now it uses a Torque function to check so it compiles on Linux. --- Engine/source/scene/sceneContainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/scene/sceneContainer.cpp b/Engine/source/scene/sceneContainer.cpp index 90ac7c235..0391ff669 100644 --- a/Engine/source/scene/sceneContainer.cpp +++ b/Engine/source/scene/sceneContainer.cpp @@ -1012,7 +1012,7 @@ bool SceneContainer::_castRay( U32 type, const Point3F& start, const Point3F& en F32 currStartX = normalStart.x; AssertFatal(currStartX != normalEnd.x, "This is going to cause problems in SceneContainer::castRay"); - if(_isnan(currStartX)) + if(mIsNaN_F(currStartX)) { PROFILE_END(); return false;