Go to the source code of this file.
|
#define | M_PI 3.14159265358979323846 |
|
#define | M_PI_2 1.57079632679 |
|
#define | M_3PI_2 4.71238898038469 |
|
#define | DEG2RAD_f(deg) ((deg) * (float)(M_PI / 180.0)) |
|
#define | RAD2DEG_f(rad) ((rad) * (float)(180.0 / M_PI)) |
|
#define | MIN(a, b) (((a)<(b))?(a):(b)) |
|
#define | MAX(a, b) (((a)>(b))?(a):(b)) |
|
#define | CMP(a, b) (((a) > (b)) - ((a) < (b))); |
|
|
static bool | str_eq (char *str1, char *str2) |
|
◆ CMP
#define CMP |
( |
|
a, |
|
|
|
b |
|
) |
| (((a) > (b)) - ((a) < (b))); |
◆ DEG2RAD_f
#define DEG2RAD_f |
( |
|
deg | ) |
((deg) * (float)(M_PI / 180.0)) |
◆ M_3PI_2
#define M_3PI_2 4.71238898038469 |
◆ M_PI
#define M_PI 3.14159265358979323846 |
◆ M_PI_2
#define M_PI_2 1.57079632679 |
◆ MAX
#define MAX |
( |
|
a, |
|
|
|
b |
|
) |
| (((a)>(b))?(a):(b)) |
◆ MIN
#define MIN |
( |
|
a, |
|
|
|
b |
|
) |
| (((a)<(b))?(a):(b)) |
◆ RAD2DEG_f
#define RAD2DEG_f |
( |
|
rad | ) |
((rad) * (float)(180.0 / M_PI)) |
◆ str_eq()
static bool str_eq |
( |
char * |
str1, |
|
|
char * |
str2 |
|
) |
| |
|
inlinestatic |