mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
move getVoxels from ChunksStorage to Chunks
This commit is contained in:
parent
79693580e0
commit
c5ca9128e9
8 changed files with 107 additions and 107 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue