|
Public Member Functions |
| | TVector4 (void) |
| | TVector4 (const real xx, const real yy, const real zz, const real ww) |
| void | SetValues (const real xx, const real yy, const real zz, const real ww) |
| uint32 | GetDimension (void) const |
| void | SetFromXYZ (const TVector3 &v, const real w) |
| TVector3 & | CastToXYZ (void) |
| const TVector3 & | CastToXYZ (void) const |
| const real & | operator() (const uint32 elemNum) const |
| real & | operator() (const uint32 elemNum) |
| const real & | operator[] (const uint32 elemNum) const |
| real & | operator[] (const uint32 elemNum) |
| real & | X (void) |
| real & | Y (void) |
| real & | Z (void) |
| real & | W (void) |
| real | X (void) const |
| real | Y (void) const |
| real | Z (void) const |
| real | W (void) const |
| real | GetMagnitude (void) const |
| real | GetMagnitudeSquared (void) const |
| real | GetDistance (const TVector4 &rhs) const |
| boolean | SetMagnitude (const real newMagnitude) |
| void | SetToCenter (const TVector4 &v0, const TVector4 &v1) |
| boolean | Normalize (const real zeroTolerance=0.0f) |
| boolean | NormalizeOrReplaceWith (const TVector4 &replacement, const real zeroTolerance=0.0f) |
| boolean | IsEqual (const TVector4 &compareVec, const real zeroTolerance=0.0f) const |
| void | ClampValue (const TVector4 &min, const TVector4 &max) |
| void | Negate (void) |
| void | Interpolate (const TVector4 &vstart, const TVector4 &vend, const float t) |
| void | Swap (TVector4 &v) |
| TVector4 & | operator/= (const real scalar) |
| TVector4 & | operator *= (const real scalar) |
| TVector4 & | operator+= (const TVector4 &v) |
| TVector4 & | operator-= (const TVector4 &v) |
| real | Normalize (TVector4 &result) const |
Public Attributes |
| real | x |
| real | y |
| real | z |
| real | w |
Static Public Attributes |
| const TVector4 | kZero |
| | ( 0.0, 0.0, 0.0, 0.0 );
|
| const TVector4 | kOnes |
| | ( 1.0, 1.0, 1.0, 1.0 );
|
| const TVector4 | kUnitX |
| | ( 1.0, 0.0, 0.0, 0.0 );
|
| const TVector4 | kUnitY |
| | ( 0.0, 1.0, 0.0, 0.0 );
|
| const TVector4 | kUnitZ |
| | ( 0.0, 0.0, 1.0, 0.0 );
|
| const TVector4 | kUnitW |
| | ( 0.0, 0.0, 0.0, 1.0 );
|
| const TVector4 | kNegativeX |
| | ( -1.0, 0.0, 0.0, 0.0 );
|
| const TVector4 | kNegativeY |
| | ( 0.0, -1.0, 0.0, 0.0 );
|
| const TVector4 | kNegativeZ |
| | ( 0.0, 0.0, -1.0, 0.0 );
|
| const TVector4 | kNegativeW |
| | ( 0.0, 0.0, 0.0, -1.0 );
|