]> git.lizzy.rs Git - minetest.git/blobdiff - src/minimap.cpp
Use single box for halo mesh
[minetest.git] / src / minimap.cpp
index 7eb7247cab41e5fa10b4a0b6c4cfc3943f329625..ded8470c54bcad77c6a6d8bd8fdbcb5a142d9524 100644 (file)
@@ -18,8 +18,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 */
 
 #include "minimap.h"
-#include <math.h>
-#include "logoutputbuffer.h"
 #include "threading/mutex_auto_lock.h"
 #include "threading/semaphore.h"
 #include "clientmap.h"
@@ -28,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "porting.h"
 #include "util/numeric.h"
 #include "util/string.h"
+#include <math.h>
 
 
 ////
@@ -217,6 +216,8 @@ Mapper::Mapper(IrrlichtDevice *device, Client *client)
        this->m_shdrsrc = client->getShaderSource();
        this->m_ndef    = client->getNodeDefManager();
 
+       m_angle = 0.f;
+
        // Initialize static settings
        m_enable_shaders = g_settings->getBool("enable_shaders");
        m_surface_mode_scan_height =