#include <Vector4.h>
Öffentliche Methoden | |
Vector4 (const float fX, const float fY, const float fZ, const float fA) | |
Vector4 (const float vfValues[]) | |
void | Set (const float fX, const float fY, const float fZ, const float fA) |
void | SetX (const float fX) |
void | SetY (const float fY) |
void | SetZ (const float fZ) |
void | SetW (const float fW) |
const float * | Get () const |
const float | Get (const unsigned int uIndex) const |
const float | GetX () const |
const float | GetY () const |
const float | GetZ () const |
const float | GetW () const |
const float | GetMagnitude () const |
const float | GetSquaredMagnitude () const |
const float | GetDot (const Vector &vecOther) const |
const Vector4 | GetCross (const Vector &vecOther) const |
const Vector4 | GetNormalized () const |
const Vector4 | GetInverse () const |
void | normalize () |
void | invert () |
const bool | operator== (const Vector &vecOther) const |
const bool | operator!= (const Vector &vecOther) const |
float & | operator[] (const unsigned int uIndex) |
const float | operator[] (const unsigned int uIndex) const |
const Vector4 & | operator+= (const Vector4 &vecOther) |
const Vector4 & | operator-= (const Vector4 &vecOther) |
const Vector4 & | operator*= (const Vector4 &vecOther) |
const Vector4 & | operator*= (const float &fOther) |
const Vector4 & | operator/= (const Vector4 &vecOther) |
const Vector4 & | operator/= (const float &fOther) |
const Vector4 | operator+ (const Vector4 &vecOther) const |
const Vector4 | operator- (const Vector4 &vecOther) const |
const Vector4 | operator* (const Vector4 &vecOther) const |
const Vector4 | operator* (const float &fOther) const |
const Vector4 | operator/ (const Vector4 &vecOther) const |
const Vector4 | operator/ (const float &fOther) const |
const Vector4 | operator- () const |
class Vector
Math class for Vector. It's equivalent to Vector, but for Vectors with 4 Koordinates.