|
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 68 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 mAng3_c &v) | |
| Copy constructor. | |
| mAng3_c * | operator= (const mAng3_c &v) |
| void | set (const mAng3_c &v) |
| void | set (s16 fx, s16 fy, s16 fz) |
| 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. | |
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 72 of file m_angle.hpp.
|
inline |
Constructs a vector from a short array.
Definition at line 75 of file m_angle.hpp.
|
inline |
Constructs a vector from three short values.
Definition at line 78 of file m_angle.hpp.
Constructs a vector from three mAng values.
Definition at line 87 of file m_angle.hpp.
|
inline |
Copy constructor.
Definition at line 90 of file m_angle.hpp.
|
inlinestatic |
Definition at line 80 of file m_angle.hpp.
Definition at line 92 of file m_angle.hpp.
|
inline |
Definition at line 99 of file m_angle.hpp.
|
inline |
Definition at line 101 of file m_angle.hpp.
Augmented addition operator.
Definition at line 108 of file m_angle.hpp.
Augmented subtraction operator.
Definition at line 111 of file m_angle.hpp.
|
inline |
Positive operator.
Definition at line 114 of file m_angle.hpp.
|
inline |
Negative operator.
Definition at line 117 of file m_angle.hpp.
Addition operator.
Definition at line 120 of file m_angle.hpp.
Subtraction operator.
Definition at line 123 of file m_angle.hpp.
| mAng mAng3_c::x |
The rotation on the X axis.
Definition at line 125 of file m_angle.hpp.
| mAng mAng3_c::y |
The rotation on the Y axis.
Definition at line 126 of file m_angle.hpp.
| mAng mAng3_c::z |
The rotation on the Z axis.
Definition at line 127 of file m_angle.hpp.
The null rotation vector.
Definition at line 129 of file m_angle.hpp.
The unit rotation vector for the X axis.
Definition at line 130 of file m_angle.hpp.
The unit rotation vector for the Y axis.
Definition at line 131 of file m_angle.hpp.
The unit rotation vector for the Z axis.
Definition at line 132 of file m_angle.hpp.