class Enlighten::PrecompVoxelOctreePath
A path to a voxel.
Variables
Name | Description |
---|---|
Geo::u32 depth | Voxel depth. |
const Geo::u32 OCTANT_X = 1 << 0 | Bit-mask for X. |
const Geo::u32 OCTANT_Y = 1 << 1 | Bit-mask for Y. |
const Geo::u32 OCTANT_Z = 1 << 2 | Bit-mask for Z. |
Geo::s32 x | Voxel co-ordinates. |
Geo::s32 y | Voxel co-ordinates. |
Geo::s32 z | Voxel co-ordinates. |
Functions
Name | Description |
---|---|
Push(const Geo::u32) | Pushes the given octant onto this path. |
Friends
Name | Description |
---|---|
friend void WriteObject(Writer &writer, const PrecompVoxelOctreePath &object) | Write to any type compatible with IffWriter. |
PrecompVoxelOctreePath Enlighten::PrecompVoxelOctreePath::Push
public: PrecompVoxelOctreePath Push
(
const Geo::u32 octant
) const
Pushes the given octant onto this path.