Versions Compared

Key

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

struct Geo::ClippedRay

A finite ray with near and far clipping planes.

Functions

NameDescription
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

NameDescription
float farClip

The far-clipping t-value.

float nearClip

The near-clipping t-value.

Rayf ray

The underlying infinite ray.


Anchor
a4d24657a2c9804f78d211d2fa573746f
a4d24657a2c9804f78d211d2fa573746f

Geo::ClippedRay::ClippedRay

...

public: ClippedRay()

...

Constructors.


Anchor
a2db03338eed1989f3818204f8ce03e0a
a2db03338eed1989f3818204f8ce03e0a

Geo::ClippedRay::ClippedRay

...

public: ClippedRay
(
    const Rayf & ray
)

...

Constructors.


Anchor
afc78d01c5ed9e148280bbcb7ff641fb8
afc78d01c5ed9e148280bbcb7ff641fb8

Geo::ClippedRay::ClippedRay

...

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

...

Constructors.


Anchor
a65f3c31ad76b0ec01e1a0569c1a68485
a65f3c31ad76b0ec01e1a0569c1a68485

Geo::v128 Geo::ClippedRay::GetDirection

...

public: Geo::v128 GetDirection() const

...

Gets the direction of the ray.


Anchor
ae082c063ef321cacd6e9c726faad8dad
ae082c063ef321cacd6e9c726faad8dad

Geo::v128 Geo::ClippedRay::GetPosition

...

public: Geo::v128 GetPosition() const

...

Gets the position of the ray.