NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Go to the source code of this file.
Classes | |
struct | Vec2 |
A two-dimensional floating point vector. More... | |
struct | Vec |
A three-dimensional floating point vector. More... | |
struct | S16Vec |
A three-dimensional short vector. More... | |
Functions | |
void | PSVECAdd (const Vec *v1, const Vec *v2, Vec *out) |
Sums two vectors together. | |
void | PSVECSubtract (const Vec *v1, const Vec *v2, Vec *out) |
Subtracts vector v2 from vector v1 . | |
void | PSVECScale (const Vec *in, Vec *out, float scale) |
Multiplies a vector by a scalar. | |
f32 | PSVECMag (const Vec *v) |
Computes the magnitude of a vector. | |