mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-22 20:08:20 -06:00
testing
This commit is contained in:
parent
9ed19bfc0e
commit
5c3ee1c4b6
|
@ -13,6 +13,14 @@ pub fn generate_world(position: IVec3, _seed: u32) -> BlockData {
|
|||
blocks[x][0][z] = Block::Grass;
|
||||
}
|
||||
}
|
||||
} else if position.y < -1 {
|
||||
for x in 0..CHUNK_SIZE {
|
||||
for y in 0..CHUNK_SIZE {
|
||||
for z in 0..CHUNK_SIZE {
|
||||
blocks[x][y][z] = Block::Dirt;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
blocks
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue