spawn L shapes

This commit is contained in:
griffi-gh 2023-01-23 03:24:43 +01:00
parent ff38faa891
commit ecedfc929d

View file

@ -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
}