diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-06-17 16:23:53 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-06-17 16:23:53 +0200 |
commit | 789f70b6f1a9067843dfc1ff73d86b645efe1da9 (patch) | |
tree | f3db085f2ac1ec5fd6ad0869a63e77a7f0fb1a17 /src/core/Core.hpp | |
parent | 2017-06-14 (diff) | |
download | AltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.tar AltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.tar.gz AltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.tar.bz2 AltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.tar.lz AltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.tar.xz AltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.tar.zst AltCraft-789f70b6f1a9067843dfc1ff73d86b645efe1da9.zip |
Diffstat (limited to 'src/core/Core.hpp')
-rw-r--r-- | src/core/Core.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/Core.hpp b/src/core/Core.hpp index 97a51fd..cc355db 100644 --- a/src/core/Core.hpp +++ b/src/core/Core.hpp @@ -61,16 +61,13 @@ class Core { std::thread gameStateLoopThread; - Camera3D camera; Shader *shader,*shader2; //Cube verticies, Cube VAO, Cube UVs, TextureIndexes UBO, TextureData UBO, TextureData2 UBO, Blocks VBO, Models VBO, Line VAO, Lines VBO GLuint VBO, VAO, VBO2, UBO, UBO2, VBO3, VBO4, VAO2, VBO5; std::vector<Vector> toRender; std::vector<Vector> optimizedRender; - void UpdateOptimizedRender(); - - int ChunkDistance = 4; + int ChunkDistance = 2; std::map<Vector, std::vector<glm::mat4>> toRenderModels; std::map<Vector, std::vector<glm::vec2>> toRenderBlocks; |