mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01: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
|
|
@ -419,3 +419,7 @@ void Chunks::getVoxels(VoxelsVolume& volume, bool backlight) const {
|
|||
void Chunks::saveAndClear() {
|
||||
areaMap.clear();
|
||||
}
|
||||
|
||||
void Chunks::remove(int32_t x, int32_t z) {
|
||||
areaMap.remove(x, z);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue