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

    └>Enlighten::TransparencyVolumeBase

Box volume primitive.

Functions

Variables

Name Description
Geo::Matrix m_Transform

Transformation matrix for this volume.

float m_Transparency

Transparency value [0..1].


Enlighten::BoxVolume::BoxVolume


public: BoxVolume
(
    const Geo::v128 & position,
    const Geo::v128 & dimensions
)


Constructor.


Geo::v128 Enlighten::BoxVolume::GetDimensions


public: Geo::v128 GetDimensions() const


Gets the dimensions.


void Enlighten::BoxVolume::SetDimensions


public: void SetDimensions
(
    Geo::v128 const & dim
)


Sets the dimensions.


Geo::v128 Enlighten::BoxVolume::TestQuad


public: Geo::v128 TestQuad
(
    const Geo::v128 & x,
    const Geo::v128 & y,
    const Geo::v128 & z,
    const Geo::Matrix & invTransform
) const


Tests the given quad.

  • No labels