Removed unnecessary condition.
This commit is contained in:
parent
edd1af14ca
commit
6493e88d4c
@ -244,9 +244,6 @@ namespace PolyVox
|
||||
|
||||
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 */
|
||||
if (edgeTable[iCubeIndex] & 1)
|
||||
{
|
||||
@ -309,7 +306,6 @@ namespace PolyVox
|
||||
}
|
||||
} // For each triangle
|
||||
}
|
||||
}
|
||||
} // For each cell
|
||||
sampler.movePositiveX();
|
||||
} // For X
|
||||
|
Loading…
x
Reference in New Issue
Block a user