浏览代码

Check now platform independent

Now it uses a Torque function to check so it compiles on Linux.
Nathan Bowhay 10 年之前
父节点
当前提交
87bb479c8c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Engine/source/scene/sceneContainer.cpp

+ 1 - 1
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;