summaryrefslogtreecommitdiffstats
path: root/src/RendererSection.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/RendererSection.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/RendererSection.hpp b/src/RendererSection.hpp
index 9931239..1c7fc3d 100644
--- a/src/RendererSection.hpp
+++ b/src/RendererSection.hpp
@@ -21,11 +21,11 @@ struct RendererSectionData {
size_t hash;
Vector sectionPos;
- bool TestBlockExists(World *world, Vector blockPos);
-
- void AddFacesByBlockModel(World *world, Vector blockPos, const BlockModel &model, glm::mat4 transform, unsigned char light, unsigned char skyLight);
-
RendererSectionData(World *world, Vector sectionPosition);
+private:
+ bool TestBlockExists(const std::vector<Vector> &sectionsList, World *world, Vector blockPos);
+
+ void AddFacesByBlockModel(const std::vector<Vector> &sectionsList, World *world, Vector blockPos, const BlockModel &model, glm::mat4 transform, unsigned char light, unsigned char skyLight);
};
class RendererSection {
enum Vbos {