Check now platform independent

Now it uses a Torque function to check so it compiles on Linux.
This commit is contained in:
Nathan Bowhay 2015-02-12 11:39:47 -08:00
parent 7809e595ed
commit 87bb479c8c

View file

@ -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;