Removed unnecessary condition.
This commit is contained in:
parent
edd1af14ca
commit
6493e88d4c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user