mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +00:00
local shadowvar cleanup
This commit is contained in:
parent
3ce15b33eb
commit
fe3cd40d1e
1 changed files with 3 additions and 3 deletions
|
|
@ -270,10 +270,10 @@ void ClippedPolyList::end()
|
||||||
iv.mask = 0;
|
iv.mask = 0;
|
||||||
|
|
||||||
// Test against the remaining planes
|
// Test against the remaining planes
|
||||||
for (U32 i = p + 1; i < mPlaneList.size(); i++)
|
for (U32 rP = p + 1; rP < mPlaneList.size(); rP++)
|
||||||
if (mPlaneList[i].distToPlane(iv.point) > 0)
|
if (mPlaneList[rP].distToPlane(iv.point) > 0)
|
||||||
{
|
{
|
||||||
iv.mask = 1 << i;
|
iv.mask = 1 << rP;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue