mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-10 01:28:41 -06:00
spawn L shapes
This commit is contained in:
parent
ff38faa891
commit
ecedfc929d
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue