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 66 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 (mAng fx, mAng fy, mAng fz) | |
Constructs a vector from three mAng values. | |
mAng3_c (const S16Vec &v) | |
Constructs a new vector from an existing vector from the MTX library. | |
mAng3_c (const mAng3_c &v) | |
Copy constructor. | |
mAng3_c * | operator= (const mAng3_c &v) |
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. | |
Static Public Member Functions | |
static mAng3_c | onlyY (s16 fy) |
Public Attributes | |
mAng | x |
The rotation on the X axis. | |
mAng | y |
The rotation on the Y axis. | |
mAng | 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 70 of file m_angle.hpp.
|
inline |
Constructs a vector from a short array.
Definition at line 73 of file m_angle.hpp.
|
inline |
Constructs a vector from three short values.
Definition at line 76 of file m_angle.hpp.
Constructs a vector from three mAng values.
Definition at line 85 of file m_angle.hpp.
|
inline |
Constructs a new vector from an existing vector from the MTX library.
Definition at line 88 of file m_angle.hpp.
|
inline |
Copy constructor.
Definition at line 91 of file m_angle.hpp.
|
inlinestatic |
Definition at line 78 of file m_angle.hpp.
Definition at line 93 of file m_angle.hpp.
Augmented addition operator.
Definition at line 101 of file m_angle.hpp.
Augmented subtraction operator.
Definition at line 104 of file m_angle.hpp.
|
inline |
Positive operator.
Definition at line 107 of file m_angle.hpp.
|
inline |
Negative operator.
Definition at line 110 of file m_angle.hpp.
Addition operator.
Definition at line 113 of file m_angle.hpp.
Subtraction operator.
Definition at line 116 of file m_angle.hpp.
|
inline |
Equality operator.
Definition at line 119 of file m_angle.hpp.
|
inline |
Inequality operator.
Definition at line 122 of file m_angle.hpp.
mAng mAng3_c::x |
The rotation on the X axis.
Definition at line 124 of file m_angle.hpp.
mAng mAng3_c::y |
The rotation on the Y axis.
Definition at line 125 of file m_angle.hpp.
mAng mAng3_c::z |
The rotation on the Z axis.
Definition at line 126 of file m_angle.hpp.
The null rotation vector.
Definition at line 128 of file m_angle.hpp.
The unit rotation vector for the X axis.
Definition at line 129 of file m_angle.hpp.
The unit rotation vector for the Y axis.
Definition at line 130 of file m_angle.hpp.
The unit rotation vector for the Z axis.
Definition at line 131 of file m_angle.hpp.