summaryrefslogtreecommitdiffstats
path: root/src/RendererWorld.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/RendererWorld.hpp6
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;