11 s16
atan2s(
float sin,
float cos);
17 float rndF(
float max);
float rnd()
Generates a floating point number between 0 and 1.
float rndF(float max)
Generates a floating point number between 0 and the given max.
int rndInt(int max)
Generates an integer between 0 and the given max.
s16 atan2s(float sin, float cos)
Converts a sine and a cosine to an angle in units.
s16 rad2s(float rad)
Converts an angle from radians to units.
void initRnd(ulong seed)
Initializes s_rnd with the given seed.