More efficient chunk loaders handling (fixed)

This commit is contained in:
MihailRis
2022-03-06 03:18:04 +03:00
committed by GitHub
parent f0a74dd821
commit cbfa073550
+2
View File
@@ -12,10 +12,12 @@ private:
Chunks* chunks;
Lighting* lighting;
ChunksLoader** loaders;
int _totalLoaded = 0;
public:
ChunksController(Chunks* chunks, Lighting* lighting);
~ChunksController();
int countFreeLoaders();
bool loadVisible(WorldFiles* worldFiles);
bool _buildMeshes(VoxelRenderer* renderer, int tick);
};