This is the documentation for Enlighten.
A finite ray with near and far clipping planes.
| 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. |
| Name | Description |
|---|---|
| float farClip | The far-clipping t-value. |
| float nearClip | The near-clipping t-value. |
| Rayf ray | The underlying infinite ray. |
public: ClippedRay()
Constructors.
public: ClippedRay
(
const Rayf & ray
)
Constructors.
public: ClippedRay
(
const Geo::v128 & origin,
const Geo::v128 & direction,
float nearClip,
float farClip
)
Constructors.
public: Geo::v128 GetDirection() const
Gets the direction of the ray.
public: Geo::v128 GetPosition() const
Gets the position of the ray.