Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::PrecompVoxelOctreePath

A path to a voxel.

Variables

NameDescription
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

NameDescription
Push(const Geo::u32)

Pushes the given octant onto this path.

Friends

NameDescription
friend void WriteObject(Writer &writer, const PrecompVoxelOctreePath &object)

Write to any type compatible with IffWriter.


Anchor
aca2b8165b848567ba35f35836274ed63
aca2b8165b848567ba35f35836274ed63

PrecompVoxelOctreePath Enlighten::PrecompVoxelOctreePath::Push

...

public: PrecompVoxelOctreePath Push
(
    const Geo::u32 octant
) const

...

Pushes the given octant onto this path.