ew-progs/math.qc

23 lines
340 B
C++
Raw Normal View History

2011-09-06 00:00:00 +00:00
/*
=============================
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);
};
*/