12#define MAX(a,b) (a > b ? a : b)
14#define MIN(a,b) (a < b ? a : b)
int mathMin(int,...)
Returns the smallest integer provided in arguments.
Definition utils.c:75
int mathMax(int,...)
Returns the greatest integer provided in arguments.
Definition utils.c:47
int mathClamp(int, int, int)
Clamps a value to be constrained in a range.
Definition utils.c:17
int randRange(int, int)
Randomizes an integer from a given inclusive range.
Definition utils.c:34