diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/mathconstants.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util/mathconstants.h b/src/util/mathconstants.h new file mode 100644 index 000000000..1b478aa95 --- /dev/null +++ b/src/util/mathconstants.h @@ -0,0 +1,7 @@ +#include <math.h> + +// MSVC doesn't seem to define this +#ifndef M_PI + #define M_PI 3.1415926535 +#endif + |