Fixes for style conformance: tabs to spaces

This commit is contained in:
matsukaze 2014-02-08 09:06:14 -05:00
parent 61c48c525c
commit 18e219b5c0
2 changed files with 388 additions and 387 deletions

View file

@ -1613,7 +1613,7 @@ bool VoxelSystem::inspectForExteriorOcclusionsOperation(OctreeElement* element,
// of its children
unsigned char exteriorOcclusions = OctreeElement::HalfSpace::None;
for (int i = 6; --i >= 0; ) {
if (exteriorOcclusionsCt[i] == 4) {
if (exteriorOcclusionsCt[i] == _sNumOctantsPerHemiVoxel) {
// Exactly four octants qualify for full exterior occlusion
exteriorOcclusions |= (1 << i);

View file

@ -320,6 +320,7 @@ private:
bool _usePrimitiveRenderer; ///< Flag primitive renderer for use
PrimitiveRenderer* _renderer; ///< Voxel renderer
static const int _sNumOctantsPerHemiVoxel = 4;
static unsigned char _sOctantIndexToBitMask[8]; ///< Map octant index to partition mask
static unsigned char _sOctantIndexToSharedBitMask[8][8]; ///< Map octant indices to shared partition mask