
#include <MgcVector3.h>

Public Member Functions | |
| Vector3 () | |
| Vector3 (Real fX, Real fY, Real fZ) | |
| Vector3 (Real afCoordinate[3]) | |
| Vector3 (const Vector3 &rkVector) | |
| Real & | operator[] (int i) const |
| operator Real * () | |
| Vector3 & | operator= (const Vector3 &rkVector) |
| bool | operator== (const Vector3 &rkVector) const |
| bool | operator!= (const Vector3 &rkVector) const |
| bool | operator< (const Vector3 &rkVector) const |
| bool | operator<= (const Vector3 &rkVector) const |
| bool | operator> (const Vector3 &rkVector) const |
| bool | operator>= (const Vector3 &rkVector) const |
| Vector3 | operator+ (const Vector3 &rkVector) const |
| Vector3 | operator- (const Vector3 &rkVector) const |
| Vector3 | operator* (Real fScalar) const |
| Vector3 | operator/ (Real fScalar) const |
| Vector3 | operator- () const |
| Vector3 & | operator+= (const Vector3 &rkVector) |
| Vector3 & | operator-= (const Vector3 &rkVector) |
| Vector3 & | operator*= (Real fScalar) |
| Vector3 & | operator/= (Real fScalar) |
| Real | Length () const |
| Real | SquaredLength () const |
| Real | Dot (const Vector3 &rkVector) const |
| Real | Unitize (Real fTolerance=1e-06f) |
| Vector3 | Cross (const Vector3 &rkVector) const |
| Vector3 | UnitCross (const Vector3 &rkVector) const |
Static Public Member Functions | |
| static void | Orthonormalize (Vector3 akVector[]) |
| static void | GenerateOrthonormalBasis (Vector3 &rkU, Vector3 &rkV, Vector3 &rkW, bool bUnitLengthW=true) |
Data Fields | |
| Real | x |
| Real | y |
| Real | z |
Static Public Attributes | |
| static const Vector3 | ZERO |
| static const Vector3 | UNIT_X |
| static const Vector3 | UNIT_Y |
| static const Vector3 | UNIT_Z |
| static Real | FUZZ |
Friends | |
| MAGICFM friend Vector3 | operator* (Real fScalar, const Vector3 &rkVector) |
Definition at line 21 of file MgcVector3.h.
| Mgc::Vector3::Vector3 | ( | ) |
| Mgc::Vector3::Vector3 | ( | Real | afCoordinate[3] | ) |
| Mgc::Vector3::Vector3 | ( | const Vector3 & | rkVector | ) |
| Mgc::Vector3::operator Real * | ( | ) |
| Vector3 Mgc::Vector3::operator- | ( | ) | const |
| Real Mgc::Vector3::Length | ( | ) | const |
| Real Mgc::Vector3::SquaredLength | ( | ) | const |
| static void Mgc::Vector3::Orthonormalize | ( | Vector3 | akVector[] | ) | [static] |
| static void Mgc::Vector3::GenerateOrthonormalBasis | ( | Vector3 & | rkU, | |
| Vector3 & | rkV, | |||
| Vector3 & | rkW, | |||
| bool | bUnitLengthW = true | |||
| ) | [static] |
Definition at line 31 of file MgcVector3.h.
Definition at line 31 of file MgcVector3.h.
Definition at line 31 of file MgcVector3.h.
const Vector3 Mgc::Vector3::ZERO [static] |
Definition at line 84 of file MgcVector3.h.
const Vector3 Mgc::Vector3::UNIT_X [static] |
Definition at line 85 of file MgcVector3.h.
const Vector3 Mgc::Vector3::UNIT_Y [static] |
Definition at line 86 of file MgcVector3.h.
const Vector3 Mgc::Vector3::UNIT_Z [static] |
Definition at line 87 of file MgcVector3.h.
Real Mgc::Vector3::FUZZ [static] |
Definition at line 90 of file MgcVector3.h.
1.5.5