From dcd030c6ed41e080846d1d50cf82e1055ae48edd Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 15 Sep 2017 20:46:56 +0500 Subject: 2017-09-15 --- src/RendererSection.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/RendererSection.hpp') 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 §ionsList, World *world, Vector blockPos); + + void AddFacesByBlockModel(const std::vector §ionsList, World *world, Vector blockPos, const BlockModel &model, glm::mat4 transform, unsigned char light, unsigned char skyLight); }; class RendererSection { enum Vbos { -- cgit v1.2.3