struct Geo::Rayf
A single ray.
Variables
Name | Description |
---|---|
float ray[6] | The parameters of this ray. [0-2] are position X,Y,Z and [3-5] are direction X,Y,Z. |
Functions
Name | Description |
---|---|
GetDirection() | Gets the direction of this ray. |
GetPosition() | Gets the position of this ray. |
SetRay(const Geo::v128 &, const Geo::v128 &) | Sets the parameters of this ray (origin and direction). |
Anchor | ||||
---|---|---|---|---|
|
Geo::v128 Geo::Rayf::GetDirection
...
public: Geo::v128 GetDirection() const
...
Gets the direction of this ray.
Anchor | ||||
---|---|---|---|---|
|
Geo::v128 Geo::Rayf::GetPosition
...
public: Geo::v128 GetPosition() const
...
Gets the position of this ray.
Anchor | ||||
---|---|---|---|---|
|
void Geo::Rayf::SetRay
...
public: void SetRay
(
const Geo::v128 & origin,
const Geo::v128 & direction
)
...
Sets the parameters of this ray (origin and direction).