mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Remove mathconstants.h
and use the correct way to get M_PI
in MSVC. (#5072)
This commit is contained in:
parent
efa54f9c46
commit
0dada51a55
12 changed files with 2 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue