mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
A lot of changes in almost all files
This commit is contained in:
parent
cd3e737385
commit
bc9d29cf68
28 changed files with 3485 additions and 476 deletions
23
src/voxels/ChunksController.h
Normal file
23
src/voxels/ChunksController.h
Normal 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_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue