Removed unnecessary condition.

This commit is contained in:
David Williams 2015-05-27 22:58:46 +02:00
parent edd1af14ca
commit 6493e88d4c

View File

@ -244,9 +244,6 @@ namespace PolyVox
int32_t indlist[12]; int32_t indlist[12];
/* Cube is entirely in/out of the surface */
if (edgeTable[iCubeIndex] != 0)
{
/* Find the vertices where the surface intersects the cube */ /* Find the vertices where the surface intersects the cube */
if (edgeTable[iCubeIndex] & 1) if (edgeTable[iCubeIndex] & 1)
{ {
@ -309,7 +306,6 @@ namespace PolyVox
} }
} // For each triangle } // For each triangle
} }
}
} // For each cell } // For each cell
sampler.movePositiveX(); sampler.movePositiveX();
} // For X } // For X