Work removing POLYVOX_REGION_SIDE_LENGTH from fast surface extractor.

This commit is contained in:
David Williams
2009-03-24 19:55:00 +00:00
parent 152717e904
commit 409afc3a99
3 changed files with 43 additions and 44 deletions

View File

@ -48,7 +48,6 @@ namespace PolyVox
//FIXME - Instead of region.width()+2 we used to use POLYVOX_REGION_SIDE_LENGTH+1
//Normally POLYVOX_REGION_SIDE_LENGTH is the same as region.width() (often 32) but at the
//edges of the volume it is 1 smaller. Need to think what values really belong here.
Vector3DInt32 regionDimensions = region.dimensions();
int32* vertexIndicesX0 = new int32[(region.width()+2) * (region.height()+2)];
int32* vertexIndicesY0 = new int32[(region.width()+2) * (region.height()+2)];
int32* vertexIndicesZ0 = new int32[(region.width()+2) * (region.height()+2)];