This is the documentation for Enlighten.
struct Geo ClippedRay
struct Geo::ClippedRay
A finite ray with near and far clipping planes.
Functions
Name | Description |
|---|---|
Constructors. | |
Constructors. | |
ClippedRay(const Geo::v128 &, const Geo::v128 &, float, float) | Constructors. |
Gets the direction of the ray. | |
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.