Versions Compared

Key

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

struct Geo::Rayf

A single ray.

Variables

NameDescription
float ray[6]

The parameters of this ray. [0-2] are position X,Y,Z and [3-5] are direction X,Y,Z.

Functions

NameDescription
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
aedb0447a97f430d59ab474dd042d5f01
aedb0447a97f430d59ab474dd042d5f01

Geo::v128 Geo::Rayf::GetDirection

...

public: Geo::v128 GetDirection() const

...

Gets the direction of this ray.


Anchor
a75f7a653a5e7fc3b565c25ad3a8f9da7
a75f7a653a5e7fc3b565c25ad3a8f9da7

Geo::v128 Geo::Rayf::GetPosition

...

public: Geo::v128 GetPosition() const

...

Gets the position of this ray.


Anchor
a03a9a49d59c80d07e91c782fcdb24df0
a03a9a49d59c80d07e91c782fcdb24df0

void Geo::Rayf::SetRay

...

public: void SetRay
(
    const Geo::v128 & origin,
    const Geo::v128 & direction
)

...

Sets the parameters of this ray (origin and direction).