Skip outputting some indices.

This commit is contained in:
David Williams 2015-05-21 23:17:49 +02:00
parent 2a7eb51653
commit 711c262004

View File

@ -402,6 +402,13 @@ namespace PolyVox
m_sampVolume.movePositiveZ();
}
// Now output the indices. For the first row, column or slice there aren't
// any (the region size in cells is one less than the region size in voxels)
if ((!isPrevXAvail) || (!isPrevYAvail) || (!isPrevZAvail))
{
continue;
}
int32_t indlist[12];
m_sampVolume.setPosition(iXVolSpace, iYVolSpace, iZVolSpace);