A three-dimensional floating point vector.
- Todo
- Add EGG::vector3f operators.
Definition at line 100 of file m_vec.hpp.
|
| | mVec3_c () |
| | Constructs an empty vector.
|
| |
| | mVec3_c (const f32 *p) |
| | Constructs a vector from a float array.
|
| |
| | mVec3_c (f32 fx, f32 fy, f32 fz) |
| | Constructs a vector from three floating point values.
|
| |
| | mVec3_c (const Vec &v) |
| | Constructs a new vector from an existing vector from the MTX library.
|
| |
| | mVec3_c (const mVec3_c &v) |
| | Copy constructor.
|
| |
| | mVec3_c (const nw4r::math::VEC3 &v) |
| | Constructs a new vector from an existing vector from the NW4R library.
|
| |
| | mVec3_c (const mVec3_c &v, float fz) |
| | Copy constructor with a different Z value.
|
| |
| | mVec3_c (const mVec2_c &v, float fz) |
| |
| mVec3_c & | operator= (const mVec3_c &v) |
| | Assignment operator.
|
| |
| mVec3_c & | operator= (const nw4r::math::VEC3 &v) |
| |
| | operator f32 * () |
| | Float cast operator.
|
| |
| | operator const f32 * () const |
| | Const float cast operator.
|
| |
| | operator Vec * () |
| | Vec cast operator.
|
| |
| | operator const Vec * () const |
| | Const Vec cast operator.
|
| |
| | operator nw4r::math::VEC3 * () |
| | nw4r::math::VEC3 cast operator.
|
| |
| | operator const nw4r::math::VEC3 * () const |
| | Const nw4r::math::VEC3 cast operator.
|
| |
| mVec3_c & | operator+= (const mVec3_c &v) |
| | Augmented addition operator.
|
| |
| mVec3_c & | operator-= (const mVec3_c &v) |
| | Augmented subtraction operator.
|
| |
| mVec3_c & | operator*= (f32 f) |
| | Augmented scalar product operator.
|
| |
| mVec3_c & | operator/= (f32 f) |
| | Augmented scalar division operator.
|
| |
| mVec3_c | operator+ () const |
| | Positive operator.
|
| |
| mVec3_c | operator- () const |
| | Negative operator.
|
| |
| mVec3_c | operator+ (const mVec3_c &v) const |
| | Addition operator.
|
| |
| mVec3_c | operator- (const mVec3_c &v) const |
| | Subtraction operator.
|
| |
| mVec3_c | operator* (f32 f) const |
| | Scalar product operator.
|
| |
| mVec3_c | operator/ (f32 f) const |
| | Scalar division operator.
|
| |
| bool | operator== (const mVec3_c &v) const |
| | Equality operator.
|
| |
| bool | operator!= (const mVec3_c &v) const |
| | Inequality operator.
|
| |
| float | xzLen () const |
| |
| short | xzAng () const |
| |
| float | distTo (const mVec3_c &other) const |
| |
| float | normalize () |
| | Normalizes the vector.
|
| |
| bool | normalizeRS () |
| | Normalizes the vector.
|
| |
| void | rotX (mAng angle) |
| | Rotates the vector on the X axis by the given angle.
|
| |
| void | rotY (mAng angle) |
| | Rotates the vector on the Y axis by the given angle.
|
| |
| | Vector3f () |
| | Constructs an empty vector.
|
| |
| | Vector3f (f32 fx, f32 fy, f32 fz) |
| | Constructs a vector from two floating point values.
|
| |
| void | set (float x, float y, float z) |
| |
| | VEC3 (f32 fx, f32 fy, f32 fz) |
| |
| | VEC3 (const _VEC3 &rVec) |
| |
| | VEC3 (const Vec &rVec) |
| |
| | VEC3 (const f32 *pData) |
| |
| | operator Vec * () |
| |
| | operator const Vec * () const |
| |
| f32 | LenSq () const |
| |
| VEC3 | operator- () const |
| |
| VEC3 | operator+ (const VEC3 &rRhs) const |
| |
| VEC3 | operator- (const VEC3 &rRhs) const |
| |
| VEC3 | operator* (f32 x) const |
| |
| VEC3 | operator/ (f32 x) const |
| |
| VEC3 & | operator+= (const VEC3 &rRhs) |
| |
| VEC3 & | operator-= (const VEC3 &rRhs) |
| |
| VEC3 & | operator*= (f32 x) |
| |
| VEC3 & | operator/= (f32 x) |
| |
| bool | operator== (const VEC3 &rRhs) const |
| |
| bool | operator!= (const VEC3 &rRhs) const |
| |