diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-18 17:13:01 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-18 17:13:01 +0200 |
commit | a2fe2786682e626dae25db2d375280c83b615796 (patch) | |
tree | 34bc8295ad75b967519959e6300aada5531e2345 /src/RendererWorld.hpp | |
parent | 2017-08-17 (diff) | |
download | AltCraft-a2fe2786682e626dae25db2d375280c83b615796.tar AltCraft-a2fe2786682e626dae25db2d375280c83b615796.tar.gz AltCraft-a2fe2786682e626dae25db2d375280c83b615796.tar.bz2 AltCraft-a2fe2786682e626dae25db2d375280c83b615796.tar.lz AltCraft-a2fe2786682e626dae25db2d375280c83b615796.tar.xz AltCraft-a2fe2786682e626dae25db2d375280c83b615796.tar.zst AltCraft-a2fe2786682e626dae25db2d375280c83b615796.zip |
Diffstat (limited to '')
-rw-r--r-- | src/RendererWorld.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/RendererWorld.hpp b/src/RendererWorld.hpp index d339706..54c1826 100644 --- a/src/RendererWorld.hpp +++ b/src/RendererWorld.hpp @@ -11,11 +11,15 @@ class RendererWorld: public Renderer { //General GameState *gs; EventListener listener; + /*static const size_t numOfWorkers = 4; + size_t currentWorker = 0; + std::thread workers[numOfWorkers]; + void WorkerFunction(size_t WorkerId);*/ std::thread resourceLoader; void LoadedSectionController(); bool isRunning = true; //Blocks - + std::vector<Vector> renderList; std::mutex sectionsMutex; std::map<Vector, RendererSection> sections; Shader *blockShader; |