From ecedfc929dbfb129cdbed2e150fe10884035d994 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 23 Jan 2023 03:24:43 +0100 Subject: [PATCH] spawn L shapes --- src/world/worldgen.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/world/worldgen.rs b/src/world/worldgen.rs index 3a58dc7..0b100b0 100644 --- a/src/world/worldgen.rs +++ b/src/world/worldgen.rs @@ -7,6 +7,9 @@ use super::{ pub fn generate_world(position: IVec3, seed: u32) -> BlockData { let mut blocks = Box::new([[[Block::Air; CHUNK_SIZE]; CHUNK_SIZE]; CHUNK_SIZE]); blocks[0][0][0] = Block::Stone; + blocks[1][0][0] = Block::Stone; + blocks[0][1][0] = Block::Stone; + blocks[0][0][1] = Block::Stone; //TODO actual world generation blocks }