18 lines
210 B
C
18 lines
210 B
C
#ifndef COMMON_H
|
|
#define COMMON_H
|
|
|
|
#include <cmath>
|
|
|
|
#ifndef EPSILON
|
|
#define EPSILON 1E-4f
|
|
#endif
|
|
|
|
#ifndef INFINITY
|
|
#define INFINITY HUGE_VAL
|
|
#endif
|
|
|
|
#ifndef PI
|
|
#define PI 3.1415926535897932384f
|
|
#endif
|
|
|
|
#endif
|