mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
make chunk lightmap optional
This commit is contained in:
parent
64f7c19766
commit
5250c748be
12 changed files with 103 additions and 73 deletions
|
|
@ -40,7 +40,7 @@ public:
|
|||
void setOnUnload(consumer<Chunk&> onUnload);
|
||||
|
||||
std::shared_ptr<Chunk> fetch(int x, int z);
|
||||
std::shared_ptr<Chunk> create(int x, int z);
|
||||
std::shared_ptr<Chunk> create(int x, int z, bool lighting);
|
||||
|
||||
void pinChunk(std::shared_ptr<Chunk> chunk);
|
||||
void unpinChunk(int x, int z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue