A lot of changes in almost all files

This commit is contained in:
MihailRis
2022-02-28 02:30:15 +03:00
committed by GitHub
parent cd3e737385
commit bc9d29cf68
28 changed files with 3485 additions and 476 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef VOXELS_CHUNKSCONTROLLER_H_
#define VOXELS_CHUNKSCONTROLLER_H_
class Chunks;
class Lighting;
class WorldFiles;
class VoxelRenderer;
class ChunksLoader;
class ChunksController {
private:
Chunks* chunks;
Lighting* lighting;
ChunksLoader** loaders;
public:
ChunksController(Chunks* chunks, Lighting* lighting);
~ChunksController();
bool loadVisible(WorldFiles* worldFiles);
bool _buildMeshes(VoxelRenderer* renderer, int tick);
};
#endif /* VOXELS_CHUNKSCONTROLLER_H_ */