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 »

struct Geo::ClippedRay

A finite ray with near and far clipping planes.

Functions

Name Description
ClippedRay()

Constructors.

ClippedRay(const Rayf &)

Constructors.

ClippedRay(const Geo::v128 &, const Geo::v128 &, float, float)

Constructors.

GetDirection()

Gets the direction of the ray.

GetPosition()

Gets the position of the ray.

Variables

Name Description
float farClip

The far-clipping t-value.

float nearClip

The near-clipping t-value.

Rayf ray

The underlying infinite ray.


Geo::ClippedRay::ClippedRay


public: ClippedRay()


Constructors.


Geo::ClippedRay::ClippedRay


public: ClippedRay
(
    const Rayf & ray
)


Constructors.


Geo::ClippedRay::ClippedRay


public: ClippedRay
(
    const Geo::v128 & origin,
    const Geo::v128 & direction,
    float nearClip,
    float farClip
)


Constructors.


Geo::v128 Geo::ClippedRay::GetDirection


public: Geo::v128 GetDirection() const


Gets the direction of the ray.


Geo::v128 Geo::ClippedRay::GetPosition


public: Geo::v128 GetPosition() const


Gets the position of the ray.

  • No labels