ew-progs/math.qc
2011-09-06 00:00:00 +00:00

22 lines
340 B
C++

/*
=============================
Math.qc by Koolio
contains some special math functions
either written by me or found on the net
=============================
*/
//Modular division by FrikaC
float(float a, float b) mod =
{
return a - (floor(a / b) * b);
};
/*
float() crandom =
{
return 2*(random() - 0.5);
};
*/