mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
add SurroundMap intergration to world generator (WIP)
This commit is contained in:
parent
80d8a6738b
commit
8268176527
6 changed files with 76 additions and 10 deletions
|
|
@ -35,7 +35,11 @@ ChunksController::ChunksController(Level* level, uint padding)
|
|||
|
||||
ChunksController::~ChunksController() = default;
|
||||
|
||||
void ChunksController::update(int64_t maxDuration) {
|
||||
void ChunksController::update(
|
||||
int64_t maxDuration, int loadDistance, int centerX, int centerY
|
||||
) {
|
||||
generator->update(centerX, centerY, loadDistance);
|
||||
|
||||
int64_t mcstotal = 0;
|
||||
|
||||
for (uint i = 0; i < MAX_WORK_PER_FRAME; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue