unnecessarily duplicated var definitions

This commit is contained in:
Azaezel 2018-03-16 17:12:22 -05:00
parent de4f2ddc2a
commit 71e640f6b6
3 changed files with 19 additions and 19 deletions

View file

@ -123,7 +123,7 @@ void DepthSortList::setExtents(Poly & poly, PolyExtents & polyExtents)
polyExtents.zMin = polyExtents.zMax = p.z;
for (S32 i=poly.vertexStart+1; i<poly.vertexStart+poly.vertexCount; i++)
{
Point3F p = mVertexList[mIndexList[i]].point;
p = mVertexList[mIndexList[i]].point;
// x
if (p.x < polyExtents.xMin)

View file

@ -237,7 +237,7 @@ void EarlyOutPolyList::end()
iv.mask = 0;
// Test against the remaining planes
for (U32 i = p + 1; i < mPlaneList.size(); i++)
for (i = p + 1; i < mPlaneList.size(); i++)
if (mPlaneList[i].distToPlane(iv.point) > 0) {
iv.mask = 1 << i;
break;