Versions Compared

Key

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

class Enlighten::SphereVolume

    └>Enlighten::TransparencyVolumeBase

Sphere volume primitive.

Functions

NameDescription
GetRadius()

Gets the radius of the sphere.

SetRadius(float)

Sets the radius of the sphere.

SphereVolume(const Geo::v128 &, float)

Constructor.

TestQuad(const Geo::v128 &, const Geo::v128 &, const Geo::v128 &, const Geo::Matrix &)

Tests the given quad.

Variables

NameDescription
Geo::Matrix m_Transform

Transformation matrix for this volume.

float m_Transparency

Transparency value [0..1].


Anchor
aaf80d1ba78068be0c06ee2ba5ddf7b77
aaf80d1ba78068be0c06ee2ba5ddf7b77

float Enlighten::SphereVolume::GetRadius

...

public: float GetRadius() const

...

Gets the radius of the sphere.


Anchor
aa699f92157d1eb2333643b181fe9450a
aa699f92157d1eb2333643b181fe9450a

void Enlighten::SphereVolume::SetRadius

...

public: void SetRadius
(
    float radius
)

...

Sets the radius of the sphere.


Anchor
a2bc36b53801b5bcaba1e2598f450bdfb
a2bc36b53801b5bcaba1e2598f450bdfb

Enlighten::SphereVolume::SphereVolume

...

public: SphereVolume
(
    const Geo::v128 & position,
    float radius
)

...

Constructor.


Anchor
ab4da4e692d8e562a261585253cc1e9d4
ab4da4e692d8e562a261585253cc1e9d4

Geo::v128 Enlighten::SphereVolume::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.