#include "sound.h"
#include "event.h"
#include "util/numeric.h"
+#include "util/mathconstants.h"
Camera::Camera(scene::ISceneManager* smgr, MapDrawControl& draw_control,
IGameDef *gamedef):
#include "mapblock.h"
#include "profiler.h"
#include "settings.h"
+#include "util/mathconstants.h"
#define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")"
#include "localplayer.h"
#include "util/numeric.h" // For IntervalLimiter
#include "util/serialize.h"
+#include "util/mathconstants.h"
class Settings;
struct ToolCapabilities;
#include "hex.h"
#include "util/string.h"
#include "util/pointedthing.h"
+#include "util/mathconstants.h"
#define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")"
--- /dev/null
+#include <math.h>
+
+// MSVC doesn't seem to define this
+#ifndef M_PI
+ #define M_PI 3.1415926535
+#endif
+