diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-09-15 17:46:56 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-01-13 03:39:31 +0100 |
commit | dcd030c6ed41e080846d1d50cf82e1055ae48edd (patch) | |
tree | 791bf81717a40273fcd6f72b06d3eb24c0c94b1a /src/RendererSection.hpp | |
parent | 2017-09-03 (diff) | |
download | AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.tar AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.tar.gz AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.tar.bz2 AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.tar.lz AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.tar.xz AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.tar.zst AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/RendererSection.hpp | 8 |
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> §ionsList, World *world, Vector blockPos); + + void AddFacesByBlockModel(const std::vector<Vector> §ionsList, World *world, Vector blockPos, const BlockModel &model, glm::mat4 transform, unsigned char light, unsigned char skyLight); }; class RendererSection { enum Vbos { |