mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Merges in Monkey's fixes PR with a resolution for a conflict
This commit is contained in:
commit
bedc79aacb
22 changed files with 131 additions and 74 deletions
|
|
@ -1012,6 +1012,11 @@ 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(mIsNaN_F(currStartX))
|
||||
{
|
||||
PROFILE_END();
|
||||
return false;
|
||||
}
|
||||
while (currStartX != normalEnd.x)
|
||||
{
|
||||
F32 currEndX = getMin(currStartX + csmTotalBinSize, normalEnd.x);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue