|
NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Go to the source code of this file.
Namespaces | |
| namespace | cM |
| C Math library. | |
Functions | |
| s16 | cM::rad2s (float rad) |
| Converts an angle from radians to units. | |
| s16 | cM::atan2s (float sin, float cos) |
| Converts a sine and a cosine to an angle in units. | |
| void | cM::initRnd (ulong seed) |
| Initializes s_rnd with the given seed. | |
| float | cM::rnd () |
| Generates a floating point number between 0 and 1. | |
| int | cM::rndInt (int max) |
| Generates an integer between 0 and the given max. | |
| float | cM::rndF (float max) |
| Generates a floating point number between 0 and the given max. | |