NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/mLib/m_angle.hpp>
A three-dimensional short angle vector.
Definition at line 60 of file m_angle.hpp.
Public Member Functions | |
mAng3_c () | |
Constructs an empty vector. | |
mAng3_c (const s16 *p) | |
Constructs a vector from a short array. | |
mAng3_c (s16 fx, s16 fy, s16 fz) | |
Constructs a vector from three short values. | |
mAng3_c (const S16Vec &v) | |
Constructs a new vector from an existing vector from the MTX library. | |
operator s16 * () | |
Short cast operator. | |
operator const s16 * () const | |
Const short cast operator. | |
operator S16Vec * () | |
S16Vec cast operator. | |
operator const S16Vec * () const | |
Const S16Vec cast operator. | |
mAng3_c & | operator+= (const mAng3_c &v) |
Augmented addition operator. | |
mAng3_c & | operator-= (const mAng3_c &v) |
Augmented subtraction operator. | |
mAng3_c | operator+ () const |
Positive operator. | |
mAng3_c | operator- () const |
Negative operator. | |
mAng3_c | operator+ (const mAng3_c &v) const |
Addition operator. | |
mAng3_c | operator- (const mAng3_c &v) const |
Subtraction operator. | |
bool | operator== (const mAng3_c &v) const |
Equality operator. | |
bool | operator!= (const mAng3_c &v) const |
Inequality operator. | |
Public Attributes | |
s16 | x |
The rotation on the X axis. | |
s16 | y |
The rotation on the Y axis. | |
s16 | z |
The rotation on the Z axis. | |
Static Public Attributes | |
static mAng3_c | Zero = mAng3_c(0, 0, 0) |
The null rotation vector. | |
static mAng3_c | Ex = mAng3_c(1, 0, 0) |
The unit rotation vector for the X axis. | |
static mAng3_c | Ey = mAng3_c(0, 1, 0) |
The unit rotation vector for the Y axis. | |
static mAng3_c | Ez = mAng3_c(0, 0, 1) |
The unit rotation vector for the Z axis. | |
|
inline |
Constructs an empty vector.
Definition at line 64 of file m_angle.hpp.
|
inline |
Constructs a vector from a short array.
Definition at line 67 of file m_angle.hpp.
|
inline |
Constructs a vector from three short values.
Definition at line 70 of file m_angle.hpp.
|
inline |
Constructs a new vector from an existing vector from the MTX library.
Definition at line 73 of file m_angle.hpp.
|
inline |
Short cast operator.
Definition at line 76 of file m_angle.hpp.
|
inline |
Const short cast operator.
Definition at line 79 of file m_angle.hpp.
|
inline |
S16Vec cast operator.
Definition at line 82 of file m_angle.hpp.
|
inline |
Const S16Vec cast operator.
Definition at line 85 of file m_angle.hpp.
Augmented addition operator.
Definition at line 88 of file m_angle.hpp.
Augmented subtraction operator.
Definition at line 91 of file m_angle.hpp.
|
inline |
Positive operator.
Definition at line 94 of file m_angle.hpp.
|
inline |
Negative operator.
Definition at line 97 of file m_angle.hpp.
Addition operator.
Definition at line 100 of file m_angle.hpp.
Subtraction operator.
Definition at line 103 of file m_angle.hpp.
|
inline |
Equality operator.
Definition at line 106 of file m_angle.hpp.
|
inline |
Inequality operator.
Definition at line 109 of file m_angle.hpp.
s16 mAng3_c::x |
The rotation on the X axis.
Definition at line 111 of file m_angle.hpp.
s16 mAng3_c::y |
The rotation on the Y axis.
Definition at line 112 of file m_angle.hpp.
s16 mAng3_c::z |
The rotation on the Z axis.
Definition at line 113 of file m_angle.hpp.
The null rotation vector.
Definition at line 115 of file m_angle.hpp.
The unit rotation vector for the X axis.
Definition at line 116 of file m_angle.hpp.
The unit rotation vector for the Y axis.
Definition at line 117 of file m_angle.hpp.
The unit rotation vector for the Z axis.
Definition at line 118 of file m_angle.hpp.