#include <Vector.h>
Public Member Functions | |
| Vector () | |
| Vector (const float fX, const float fY, const float fZ) | |
| Vector (const float vfValues[]) | |
| ~Vector () | |
| void | Set (const float fX, const float fY, const float fZ) |
| void | SetX (const float fX) |
| void | SetY (const float fY) |
| void | SetZ (const float fZ) |
| 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 | GetMagnitude () const |
| const float | GetSquaredMagnitude () const |
| const float | GetDot (const Vector &vecOther) const |
| const Vector | GetCross (const Vector &vecOther) const |
| const Vector | GetNormalized () const |
| const Vector | 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 Vector & | operator+= (const Vector &vecOther) |
| const Vector & | operator-= (const Vector &vecOther) |
| const Vector & | operator *= (const Vector &vecOther) |
| const Vector & | operator *= (const float &fOther) |
| const Vector & | operator/= (const Vector &vecOther) |
| const Vector & | operator/= (const float &fOther) |
| const Vector | operator+ (const Vector &vecOther) const |
| const Vector | operator- (const Vector &vecOther) const |
| const Vector | operator * (const Vector &vecOther) const |
| const Vector | operator * (const float &fOther) const |
| const Vector | operator/ (const Vector &vecOther) const |
| const Vector | operator/ (const float &fOther) const |
| const Vector | operator- () const |
Definition at line 6 of file Vector.h.
| Vector::Vector | ( | const float | fX, | |
| const float | fY, | |||
| const float | fZ | |||
| ) | [inline] |
| void Vector::Set | ( | const float | fX, | |
| const float | fY, | |||
| const float | fZ | |||
| ) | [inline] |
| const float Vector::Get | ( | const unsigned int | uIndex | ) | const [inline] |
| const float Vector::GetX | ( | ) | const [inline] |
Definition at line 66 of file Vector.h.
Referenced by GetCross(), GetDot(), Matrix::GetRotated(), Matrix::GetScaled(), Matrix::GetTranslated(), Matrix::Matrix(), Matrix::operator *(), operator *=(), operator+=(), operator-=(), operator/=(), operator<<(), operator==(), Matrix::SetColumn(), Matrix::SetRow(), and Matrix::SetTranslation().
| const float Vector::GetY | ( | ) | const [inline] |
Definition at line 71 of file Vector.h.
Referenced by GetCross(), GetDot(), Matrix::GetRotated(), Matrix::GetScaled(), Matrix::GetTranslated(), Matrix::Matrix(), Matrix::operator *(), operator *=(), operator+=(), operator-=(), operator/=(), operator<<(), operator==(), Matrix::SetColumn(), Matrix::SetRow(), and Matrix::SetTranslation().
| const float Vector::GetZ | ( | ) | const [inline] |
Definition at line 76 of file Vector.h.
Referenced by GetCross(), GetDot(), Matrix::GetRotated(), Matrix::GetScaled(), Matrix::GetTranslated(), Matrix::Matrix(), Matrix::operator *(), operator *=(), operator+=(), operator-=(), operator/=(), operator<<(), operator==(), Matrix::SetColumn(), Matrix::SetRow(), and Matrix::SetTranslation().
| const float Vector::GetMagnitude | ( | ) | const [inline] |
Definition at line 81 of file Vector.h.
Referenced by GetNormalized(), and Quaternion::operator *().
| const float Vector::GetDot | ( | const Vector & | vecOther | ) | const [inline] |
Definition at line 91 of file Vector.h.
References GetX(), GetY(), and GetZ().
Referenced by Quaternion::operator *=(), and Quaternion::Quaternion().

| const Vector Vector::GetNormalized | ( | ) | const [inline] |
Definition at line 101 of file Vector.h.
References GetMagnitude().
Referenced by Quaternion::Quaternion().

| const bool Vector::operator== | ( | const Vector & | vecOther | ) | const [inline] |
| const bool Vector::operator!= | ( | const Vector & | vecOther | ) | const [inline] |
| float& Vector::operator[] | ( | const unsigned int | uIndex | ) | [inline] |
| const float Vector::operator[] | ( | const unsigned int | uIndex | ) | const [inline] |
| const Vector& Vector::operator *= | ( | const float & | fOther | ) | [inline] |
| const Vector& Vector::operator/= | ( | const float & | fOther | ) | [inline] |
| const Vector Vector::operator * | ( | const float & | fOther | ) | const [inline] |
| const Vector Vector::operator/ | ( | const float & | fOther | ) | const [inline] |
1.5.4