mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 09:25:37 +02:00
Define M_PI on MSVC
This commit is contained in:
7
src/util/mathconstants.h
Normal file
7
src/util/mathconstants.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <math.h>
|
||||
|
||||
// MSVC doesn't seem to define this
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.1415926535
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user