11 lines
187 B
C
11 lines
187 B
C
#ifndef LIBMAP_MATH_H
|
|
#define LIBMAP_MATH_H
|
|
|
|
#define CMP_EPSILON 0.00001
|
|
|
|
#define PI 3.14159
|
|
#define DEG_TO_RAD(deg) (deg * (PI / 180))
|
|
#define RAD_TO_DEG(deg) (deg * (180 / PI))
|
|
|
|
#endif
|