diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-20 17:21:29 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-20 17:21:29 +0200 |
commit | c62e2cd49649109f0135e56ee8add0dab2254d01 (patch) | |
tree | 7e6240186a3801daf0189d1883081b93b5f1eb5c /src/RendererSection.hpp | |
parent | 2017-08-19 (diff) | |
download | AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.tar AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.tar.gz AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.tar.bz2 AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.tar.lz AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.tar.xz AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.tar.zst AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.zip |
Diffstat (limited to 'src/RendererSection.hpp')
-rw-r--r-- | src/RendererSection.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/RendererSection.hpp b/src/RendererSection.hpp index fe5e96b..9e5fd99 100644 --- a/src/RendererSection.hpp +++ b/src/RendererSection.hpp @@ -17,6 +17,7 @@ struct RendererSectionData { std::vector<glm::mat4> models; std::vector<glm::vec4> textures; std::vector<glm::vec3> colors; + std::vector<glm::vec2> lights; size_t hash; Vector sectionPos; @@ -24,7 +25,7 @@ struct RendererSectionData { }; class RendererSection { - GLuint Vao, VboTextures, VboModels, VboColors; + GLuint Vao, VboTextures, VboModels, VboColors, VboLights; static GLuint VboVertices, VboUvs; static std::map<GLuint, int> refCounterVbo; |