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. |
Anchor | ||||
---|---|---|---|---|
|
Geo::ClippedRay::ClippedRay
...
public: ClippedRay()
...
Constructors.
Anchor | ||||
---|---|---|---|---|
|
Geo::ClippedRay::ClippedRay
...
public: ClippedRay
(
const Rayf & ray
)
...
Constructors.
Anchor | ||||
---|---|---|---|---|
|
Geo::ClippedRay::ClippedRay
...
public: ClippedRay
(
const Geo::v128 & origin,
const Geo::v128 & direction,
float nearClip,
float farClip
)
...
Constructors.
Anchor | ||||
---|---|---|---|---|
|
Geo::v128 Geo::ClippedRay::GetDirection
...
public: Geo::v128 GetDirection() const
...
Gets the direction of the ray.
Anchor | ||||
---|---|---|---|---|
|
Geo::v128 Geo::ClippedRay::GetPosition
...
public: Geo::v128 GetPosition() const
...
Gets the position of the ray.