mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
implement SurroundMap & update AreaMap2D
This commit is contained in:
parent
dc79c150da
commit
fdefbda49f
5 changed files with 100 additions and 22 deletions
|
|
@ -35,7 +35,7 @@ Chunks::Chunks(
|
|||
areaMap(w, d),
|
||||
worldFiles(wfile) {
|
||||
areaMap.setCenter(ox-w/2, oz-d/2);
|
||||
areaMap.setOutCallback([this](const auto& chunk) {
|
||||
areaMap.setOutCallback([this](int, int, const auto& chunk) {
|
||||
save(chunk.get());
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue