Removed unnecessary setting of sampler position.
This commit is contained in:
parent
ccedb0e294
commit
edd1af14ca
@ -244,12 +244,9 @@ namespace PolyVox
|
|||||||
|
|
||||||
int32_t indlist[12];
|
int32_t indlist[12];
|
||||||
|
|
||||||
sampler.setPosition(iXVolSpace, iYVolSpace, iZVolSpace);
|
|
||||||
|
|
||||||
/* Cube is entirely in/out of the surface */
|
/* Cube is entirely in/out of the surface */
|
||||||
if (edgeTable[iCubeIndex] != 0)
|
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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user