Removed unnecessary setting of sampler position.

This commit is contained in:
David Williams 2015-05-27 22:57:48 +02:00
parent ccedb0e294
commit edd1af14ca

View File

@ -244,12 +244,9 @@ namespace PolyVox
int32_t indlist[12];
sampler.setPosition(iXVolSpace, iYVolSpace, iZVolSpace);
/* 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)
{