Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
|
Go to the source code of this file.
Functions | |
s16 | cM_rad2s (float rad) |
u16 | U_GetAtanTable (float, float) |
s16 | cM_atan2s (float y, float x) |
float | cM_atan2f (float y, float x) |
void | cM_initRnd (int, int, int) |
float | cM_rnd () |
float | cM_rndF (float) |
float | cM_rndFX (float) |
void | cM_initRnd2 (int, int, int) |
float | cM_rnd2 () |
float | cM_rndF2 (float) |
float | cM_rndFX2 (float) |
f32 | cM_scos (s16 x) |
f32 | cM_ssin (s16 x) |
s16 | cM_deg2s (f32 deg) |
s16 | i_cM_deg2s (f32 deg) |
f32 | cM_fcos (f32 x) |
f32 | cM_fsin (f32 x) |
f32 | cM_sht2d (f32 v) |
f32 | cM_s2rad (s16 x) |
c_math.cpp Math Helper Utilities
float cM_rnd | ( | ) |
Gets a random value
float cM_rnd2 | ( | ) |
Gets a random value between 0 and a given upper bound
max | The upper bound the random value can be |
max
Gets a random value between given bounds
max | The upper and lower bound the random value can be |
max
and +max