mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Fixes for style conformance: replace constants with enums
This commit is contained in:
parent
831a4a4e84
commit
52290266b0
2 changed files with 3 additions and 2 deletions
|
@ -201,6 +201,7 @@ public:
|
|||
|
||||
struct HalfSpace {
|
||||
enum {
|
||||
None = 0x00,
|
||||
Bottom = 0x01,
|
||||
Top = 0x02,
|
||||
Right = 0x04,
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
VoxelTreeElement::VoxelTreeElement(unsigned char* octalCode) :
|
||||
OctreeElement(),
|
||||
_primitiveIndex(0),
|
||||
_exteriorOcclusions(0x3f),
|
||||
_interiorOcclusions(0)
|
||||
_exteriorOcclusions(OctreeElement::HalfSpace::All),
|
||||
_interiorOcclusions(OctreeElement::HalfSpace::None)
|
||||
{
|
||||
init(octalCode);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue