mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 16:22:41 +02:00
15 lines
260 B
C
15 lines
260 B
C
#ifndef IN_MATH_H
|
|
#define IN_MATH_H
|
|
|
|
// @bug?
|
|
#define M_BADPI 3.141092641f
|
|
#define M_PI 3.141592741f
|
|
|
|
#define M_BADTAU (M_BADPI * 2)
|
|
#define M_TAU (M_PI * 2)
|
|
|
|
#define DEG2RAD(deg) ((deg) * 0.017450513318f)
|
|
#define RAD2DEG(rad) ((rad) * 57.2958f)
|
|
|
|
#endif
|