Rather ugly split of some code into a separate function, to keep the main loop as small and simple as possible. To be tidied up shortly.

This commit is contained in:
David Williams
2015-05-25 17:37:30 +02:00
parent e0ce93acb1
commit 13be35aac9
2 changed files with 197 additions and 197 deletions

View File

@ -159,7 +159,7 @@ namespace PolyVox
private:
//Compute the cell bitmask for a particular slice in z.
void computeBitmaskForSlice();
void generateMeshForCell(uint32_t uXRegSpace, uint32_t uYRegSpace, uint32_t uZRegSpace, typename VolumeType::Sampler& sampler, typename VolumeType::VoxelType v111, uint8_t iCubeIndex, Array3DInt32& pIndicesX, Array3DInt32& pIndicesY, Array3DInt32& pIndicesZ, int32_t iXVolSpace, int32_t iYVolSpace, int32_t iZVolSpace);
////////////////////////////////////////////////////////////////////////////////
// NOTE: These two functions are in the .h file rather than the .inl due to an apparent bug in VC2010.