mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
More efficient chunk loaders handling (fixed)
This commit is contained in:
parent
f0a74dd821
commit
cbfa073550
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue