move getVoxels from ChunksStorage to Chunks

This commit is contained in:
MihailRis
2024-11-11 22:30:42 +03:00
parent 79693580e0
commit c5ca9128e9
8 changed files with 107 additions and 107 deletions
-2
View File
@@ -11,7 +11,6 @@
class Chunk;
class Level;
class VoxelsVolume;
class ChunksStorage {
Level* level;
@@ -23,6 +22,5 @@ public:
std::shared_ptr<Chunk> get(int x, int z) const;
void store(const std::shared_ptr<Chunk>& chunk);
void remove(int x, int y);
void getVoxels(VoxelsVolume* volume, bool backlight = false) const;
std::shared_ptr<Chunk> create(int x, int z);
};