NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/mLib/m_vec.hpp>
Public Member Functions | |
mVec2_c () | |
Constructs an empty vector. | |
mVec2_c (const f32 *p) | |
Constructs a vector from a float array. | |
mVec2_c (f32 fx, f32 fy) | |
Constructs a vector from two floating point values. | |
mVec2_c (const mVec2_c &v) | |
Copy constructor. | |
void | set (float x, float y) |
void | incX (float x) |
Increments the X coordinate. | |
void | incY (float y) |
Increments the Y coordinate. | |
mVec2_c & | operator= (const mVec2_c &v) |
operator f32 * () | |
Float cast operator. | |
operator const f32 * () const | |
Const float cast operator. | |
operator Vec2 * () | |
Vec2 cast operator. | |
operator const Vec2 * () const | |
Const Vec2 cast operator. | |
operator nw4r::math::VEC2 * () | |
nw4r::math::VEC2 cast operator. | |
operator const nw4r::math::VEC2 * () const | |
Const nw4r::math::VEC2 cast operator. | |
mVec2_c & | operator+= (const mVec2_c &v) |
Augmented addition operator. | |
mVec2_c & | operator-= (const mVec2_c &v) |
Augmented subtraction operator. | |
mVec2_c & | operator*= (f32 f) |
Augmented scalar product operator. | |
mVec2_c & | operator/= (f32 f) |
Augmented scalar division operator. | |
mVec2_c | operator+ () const |
Positive operator. | |
mVec2_c | operator- () const |
Negative operator. | |
mVec2_c | operator+ (const mVec2_c &v) const |
Addition operator. | |
mVec2_c | operator- (const mVec2_c &v) const |
Subtraction operator. | |
mVec2_c | operator* (f32 f) const |
Scalar product operator. | |
mVec2_c | operator/ (f32 f) const |
Scalar division operator. | |
bool | operator== (const mVec2_c &v) const |
Equality operator. | |
bool | operator!= (const mVec2_c &v) const |
Inequality operator. | |
Public Member Functions inherited from EGG::Vector2f | |
Vector2f () | |
Constructs an empty vector. | |
Vector2f (f32 fx, f32 fy) | |
Constructs a vector from two floating point values. | |
Vector2f (const Vector2f &v) | |
Constructs a new vector from an existing vector. | |
void | set (float x, float y) |
float | normalise () |
float | getLength () const |
Gets the length of the vector. | |
Public Member Functions inherited from nw4r::math::VEC2 | |
VEC2 (float fx, float fy) | |
VEC2 (const VEC2 &v) | |
Additional Inherited Members | |
Public Attributes inherited from nw4r::math::_VEC2 | |
float | x |
float | y |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
nw4r::math::VEC2 cast operator.
|
inline |
Const nw4r::math::VEC2 cast operator.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |