11 s16
atan2s(
float sin,
float cos);
17 float rndF(
float max);
21 inline float fmin(
float x,
float y) {
30 inline float fmax(
float x,
float y) {
float rnd()
Generates a floating point number between 0 and 1.
float fmin(float x, float y)
Gets the minimum float between x and y .
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.
float fmax(float x, float y)
Gets the maximum float between x and y .
s16 rad2s(float rad)
Converts an angle from radians to units.
void initRnd(ulong seed)
Initializes s_rnd with the given seed.