terrain example improvements

This commit is contained in:
Dmitry
2023-04-20 15:11:45 +03:00
parent 685e11d718
commit 92fbf0879e
+3
View File
@@ -92,6 +92,9 @@ impl SceneLoader {
// Add terrain.
let terrain = TerrainBuilder::new(BaseBuilder::new())
.with_chunk_size(Vector2::new(32.0, 32.0))
.with_width_chunks(0..2)
.with_length_chunks(0..2)
.with_layers(vec![
Layer {
material: {