This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

  • No labels