소스 검색

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;