mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-28 19:13:47 +00:00
Check now platform independent
Now it uses a Torque function to check so it compiles on Linux.
This commit is contained in:
parent
7809e595ed
commit
87bb479c8c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue