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::PrecompOctreeProbeKey

    └>Enlighten::PrecompVoxelId

Provides an ordering of probe voxel positions by their depth within the octree.

Variables

Name Description
Geo::u32 depth

Depth of the voxel.

Geo::s32 x

Voxel co-ordinates.

Geo::s32 y

Voxel co-ordinates.

Geo::s32 z

Voxel co-ordinates.

Functions

Friends

Name Description
friend void WriteObject(Writer &writer, const PrecompVoxelId &object)

Write to any type compatible with IffWriter.


Enlighten::PrecompOctreeProbeKey::PrecompOctreeProbeKey


public: PrecompOctreeProbeKey
(
    const PrecompVoxelId & voxel
)


Constructor.


Enlighten::PrecompVoxelId::PrecompVoxelId


public: PrecompVoxelId()


Constructors.


Enlighten::PrecompVoxelId::PrecompVoxelId


public: PrecompVoxelId
(
    const Geo::s32 x,
    const Geo::s32 y,
    const Geo::s32 z
)


Constructors.


const PrecompVoxelId& Enlighten::PrecompOctreeProbeKey::Voxel


public: const PrecompVoxelId & Voxel() const


Gets the voxel.

  • No labels