#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 |
Private Attributes | |
| float | m_vfElements [3] |
| Vector::Vector | ( | ) | [inline] |
References m_vfElements.
| Vector::Vector | ( | const float | fX, | |
| const float | fY, | |||
| const float | fZ | |||
| ) | [inline] |
References m_vfElements.
| Vector::Vector | ( | const float | vfValues[] | ) | [inline] |
References m_vfElements.
| Vector::~Vector | ( | ) | [inline] |
| const float Vector::Get | ( | const unsigned int | uIndex | ) | const [inline] |
| const float* Vector::Get | ( | ) | const [inline] |
| const float Vector::GetDot | ( | const Vector & | vecOther | ) | const [inline] |
References GetX(), GetY(), and GetZ().
Referenced by Quaternion::operator*=(), and Quaternion::Quaternion().
| const Vector Vector::GetInverse | ( | ) | const [inline] |
| const float Vector::GetMagnitude | ( | ) | const [inline] |
Referenced by GetNormalized(), and Quaternion::operator*().
| const Vector Vector::GetNormalized | ( | ) | const [inline] |
| const float Vector::GetSquaredMagnitude | ( | ) | const [inline] |
| const float Vector::GetX | ( | ) | const [inline] |
| const float Vector::GetY | ( | ) | const [inline] |
| const float Vector::GetZ | ( | ) | const [inline] |
| void Vector::invert | ( | ) | [inline] |
| void Vector::normalize | ( | ) | [inline] |
| const bool Vector::operator!= | ( | const Vector & | vecOther | ) | const [inline] |
| const Vector Vector::operator* | ( | const float & | fOther | ) | const [inline] |
| const Vector& Vector::operator*= | ( | const float & | fOther | ) | [inline] |
| const Vector Vector::operator- | ( | ) | const [inline] |
| const Vector Vector::operator/ | ( | const float & | fOther | ) | const [inline] |
| const Vector& Vector::operator/= | ( | const float & | fOther | ) | [inline] |
| const bool Vector::operator== | ( | const Vector & | vecOther | ) | const [inline] |
| const float Vector::operator[] | ( | const unsigned int | uIndex | ) | const [inline] |
| float& Vector::operator[] | ( | const unsigned int | uIndex | ) | [inline] |
| void Vector::Set | ( | const float | fX, | |
| const float | fY, | |||
| const float | fZ | |||
| ) | [inline] |
Referenced by operator>>().
| void Vector::SetX | ( | const float | fX | ) | [inline] |
| void Vector::SetY | ( | const float | fY | ) | [inline] |
| void Vector::SetZ | ( | const float | fZ | ) | [inline] |
float Vector::m_vfElements[3] [private] |
Referenced by Vector().
1.5.8