NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <lib/egg/math.hpp>
Public Member Functions | |
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 |