This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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).


Geo::v128 Geo::Rayf::GetDirection


public: Geo::v128 GetDirection() const


Gets the direction of this ray.


Geo::v128 Geo::Rayf::GetPosition


public: Geo::v128 GetPosition() const


Gets the position of this ray.


void Geo::Rayf::SetRay


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


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

  • No labels