Skip outputting some indices.
This commit is contained in:
parent
2a7eb51653
commit
711c262004
@ -402,6 +402,13 @@ namespace PolyVox
|
|||||||
m_sampVolume.movePositiveZ();
|
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];
|
int32_t indlist[12];
|
||||||
|
|
||||||
m_sampVolume.setPosition(iXVolSpace, iYVolSpace, iZVolSpace);
|
m_sampVolume.setPosition(iXVolSpace, iYVolSpace, iZVolSpace);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user