FX::FXVec4f Class Reference
Single-precision 4-element vector.
More...
#include <FXVec4f.h>
List of all members.
Detailed Description
Single-precision 4-element vector.
Constructor & Destructor Documentation
| FX::FXVec4f::FXVec4f |
( |
|
) |
[inline] |
Default constructor; value is not initialized.
| FX::FXVec4f::FXVec4f |
( |
const FXVec4f & |
v |
) |
[inline] |
Initialize from another vector.
| FX::FXVec4f::FXVec4f |
( |
const FXfloat |
v[] |
) |
[inline] |
Construct from array of floats.
Construct from components.
Member Function Documentation
Return a non-const reference to the ith element.
| const FXfloat& FX::FXVec4f::operator[] |
( |
FXint |
i |
) |
const [inline] |
Return a const reference to the ith element.
Assignment.
References w, x, y, and z.
Assignment from array of floats.
Set value from another vector.
Set value from array of floats.
Set value from components.
References w, x, y, and z.
References w, x, y, and z.
| FX::FXVec4f::operator FXfloat * |
( |
|
) |
[inline] |
| FX::FXVec4f::operator const FXfloat * |
( |
|
) |
const [inline] |
| FX::FXVec4f::operator FXVec3f & |
( |
|
) |
[inline] |
| FX::FXVec4f::operator const FXVec3f & |
( |
|
) |
const [inline] |
| FXbool FX::FXVec4f::operator! |
( |
|
) |
const [inline] |
| FXVec4f FX::FXVec4f::operator+ |
( |
|
) |
const [inline] |
| FXVec4f FX::FXVec4f::operator- |
( |
|
) |
const [inline] |
| FXfloat FX::FXVec4f::length2 |
( |
|
) |
const [inline] |
Length and square of length.
| FXfloat FX::FXVec4f::length |
( |
|
) |
const [inline] |
Clamp values of vector between limits.
References FXCLAMP.
Signed distance normalized plane and point.
Return true if edge a-b crosses plane.
Member Data Documentation
Referenced by FX::hi(), FX::lo(), FX::operator!=(), FX::operator*(), FX::operator+(), operator+=(), FX::operator-(), operator-=(), FX::operator/(), FX::operator<(), FX::operator<=(), operator=(), FX::operator==(), FX::operator>(), and FX::operator>=().
Referenced by FX::hi(), FX::lo(), FX::operator!=(), FX::operator*(), FX::operator+(), operator+=(), FX::operator-(), operator-=(), FX::operator/(), FX::operator<(), FX::operator<=(), operator=(), FX::operator==(), FX::operator>(), and FX::operator>=().
Referenced by FX::hi(), FX::lo(), FX::operator!=(), FX::operator*(), FX::operator+(), operator+=(), FX::operator-(), operator-=(), FX::operator/(), FX::operator<(), FX::operator<=(), operator=(), FX::operator==(), FX::operator>(), and FX::operator>=().
Referenced by FX::hi(), FX::lo(), FX::operator!=(), FX::operator*(), FX::operator+(), operator+=(), FX::operator-(), operator-=(), FX::operator/(), FX::operator<(), FX::operator<=(), operator=(), FX::operator==(), FX::operator>(), and FX::operator>=().