mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-18 18:55:29 +02:00
Remove mathconstants.h
and use the correct way to get M_PI
in MSVC. (#5072)
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
#include <math.h>
|
||||
|
||||
// MSVC doesn't seem to define this
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.1415926535
|
||||
#endif
|
||||
|
@@ -18,7 +18,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
*/
|
||||
|
||||
#include "numeric.h"
|
||||
#include "mathconstants.h"
|
||||
|
||||
#include "log.h"
|
||||
#include "../constants.h" // BS, MAP_BLOCKSIZE
|
||||
|
Reference in New Issue
Block a user