Use <cmath> instead of <math.h>, apparently fixes OSX compilation. Closes #2253
This commit is contained in:
parent
df1bb8b3dd
commit
51fe38f76e
@ -21,7 +21,7 @@
|
||||
|
||||
#include "items/flyable.hpp"
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include <IMeshManipulator.h>
|
||||
#include <IMeshSceneNode.h>
|
||||
|
@ -73,7 +73,7 @@
|
||||
|
||||
#include <algorithm> // for min and max
|
||||
#include <iostream>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
|
||||
#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user