]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/client/mapblock_mesh.h
Remove unused ITextSceneNode header (#11476)
[dragonfireclient.git] / src / client / mapblock_mesh.h
index 6af23a656fdd3e004abf3884ba4c4f6b193b7c25..3b17c4af9827c4539afb0530cdd0186a7b8433ab 100644 (file)
@@ -45,10 +45,8 @@ struct MeshMakeData
 
        Client *m_client;
        bool m_use_shaders;
-       bool m_use_tangent_vertices;
 
-       MeshMakeData(Client *client, bool use_shaders,
-                       bool use_tangent_vertices = false);
+       MeshMakeData(Client *client, bool use_shaders);
 
        /*
                Copy block data manually (to allow optimizations by the caller)
@@ -62,11 +60,6 @@ struct MeshMakeData
        */
        void fill(MapBlock *block);
 
-       /*
-               Set up with only a single node at (1,1,1)
-       */
-       void fillSingleNode(MapNode *node);
-
        /*
                Set the (node) position of a crack
        */
@@ -132,8 +125,6 @@ class MapBlockMesh
                        m_animation_force_timer--;
        }
 
-       void updateCameraOffset(v3s16 camera_offset);
-
 private:
        scene::IMesh *m_mesh[MAX_TILE_LAYERS];
        MinimapMapblock *m_minimap_mapblock;
@@ -141,7 +132,6 @@ class MapBlockMesh
        IShaderSource *m_shdrsrc;
 
        bool m_enable_shaders;
-       bool m_use_tangent_vertices;
        bool m_enable_vbo;
 
        // Must animate() be called before rendering?
@@ -168,9 +158,6 @@ class MapBlockMesh
        // of sunlit vertices
        // Keys are pairs of (mesh index, buffer index in the mesh)
        std::map<std::pair<u8, u32>, std::map<u32, video::SColor > > m_daynight_diffs;
-
-       // Camera offset info -> do we have to translate the mesh?
-       v3s16 m_camera_offset;
 };
 
 /*!