|
wiiuse
|
General definitions. More...


Go to the source code of this file.
Macros | |
| #define | WIIMOTE_PI 3.14159265f |
| #define | OUTF_ERROR logtarget[0] |
| #define | OUTF_WARNING logtarget[1] |
| #define | OUTF_INFO logtarget[2] |
| #define | OUTF_DEBUG logtarget[3] |
| #define | WIIUSE_ERROR(fmt, ...) |
| #define | WIIUSE_WARNING(fmt, ...) |
| #define | WIIUSE_INFO(fmt, ...) |
| #define | WIIUSE_DEBUG(fmt, ...) |
| #define | RAD_TO_DEGREE(r) ((r * 180.0f) / WIIMOTE_PI) |
| #define | DEGREE_TO_RAD(d) (d * (WIIMOTE_PI / 180.0f)) |
| #define | absf(x) ((x >= 0) ? (x) : (x * -1.0f)) |
| #define | diff_f(x, y) ((x >= y) ? (absf(x - y)) : (absf(y - x))) |
Variables | |
| FILE * | logtarget [] |
| Output FILE stream for each wiiuse_loglevel. | |
General definitions.
1.8.13