feat(world-gen): integrate CaveCarver into WorldGenerator.Generate

This commit is contained in:
2026-06-01 15:43:32 +02:00
parent 645fd00868
commit 9410fee78b
4 changed files with 39 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ public class StreamingIntegrationTests
var registry = new BlockRegistry();
var store = new InMemoryChunkModificationStore();
var world = new World.World(registry, store);
var gen = new WorldGenerator(seed: 1337, blocks: registry);
var gen = new WorldGenerator(seed: 1337, blocks: registry, cfg: new Configuration());
var mesher = new ChunkMesher(atlasWidthPixels: 128, atlasHeightPixels: 32);
var executor = new SynchronousJobExecutor();
Func<float[], IChunkRenderer> factory = m => new FakeRenderer(m);