This is the documentation for Enlighten.

struct Geo GeoVector4

struct Geo::GeoVector4

Single precision 4 dimensional vector class.

Functions

Name Description
GeoVector4()

Constructors.

GeoVector4(float, float, float, float)

Constructors.

GeoVector4(v128)

Constructors.

operator v128()

Conversion to a v128.

operator+=(const GeoVector4 &)

Addition operator.

Variables

Name Description
float W

W coordinate.

float X

X coordinate.

float Y

Y coordinate.

float Z

Z coordinate.

Friends

Name Description
friend bool operator!=(const GeoVector4 &l, const GeoVector4 &r)

Performs an element-wise comparison of the two vectors.

friend bool operator==(const GeoVector4 &l, const GeoVector4 &r)

Performs an element-wise comparison of the two vectors.


Geo::GeoVector4::GeoVector4


public: GeoVector4()


Constructors.


Geo::GeoVector4::GeoVector4


public: GeoVector4
(
    float x,
    float y,
    float z,
    float w
)


Constructors.


Geo::GeoVector4::GeoVector4


public: GeoVector4
(
    v128 rhs
)


Constructors.


Geo::GeoVector4::operator v128


public: operator v128() const


Conversion to a v128.


GeoVector4& Geo::GeoVector4::operator+=


public: GeoVector4 & operator+=
(
    const GeoVector4 & rhs
)


Addition operator.