27 #define M_PI 3.14159265358979323846
30 #define DEG2RAD_f(deg) ((deg) * (float)(M_PI / 180.0))
31 #define RAD2DEG_f(rad) ((rad) * (float)(180.0 / M_PI))
34 #define MIN(a,b) (((a)<(b))?(a):(b))
37 #define MAX(a,b) (((a)>(b))?(a):(b))
40 #define CMP(a,b) (((a) > (b)) - ((a) < (b)));