mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 04:56:12 +02:00
Fixes for style conformance: tabs to spaces
This commit is contained in:
parent
61c48c525c
commit
18e219b5c0
2 changed files with 388 additions and 387 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue