mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
limit chunks non-unloading zone to a circle
This commit is contained in:
parent
b02b454573
commit
15a778299c
6 changed files with 68 additions and 6 deletions
|
|
@ -133,6 +133,8 @@ public:
|
|||
|
||||
void saveAndClear();
|
||||
|
||||
void remove(int32_t x, int32_t z);
|
||||
|
||||
const std::vector<std::shared_ptr<Chunk>>& getChunks() const {
|
||||
return areaMap.getBuffer();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue