bug with +z was my stupid mistake :]
This commit is contained in:
@@ -42,8 +42,6 @@ impl WorldGen {
|
||||
* Generate block
|
||||
*/
|
||||
pub fn generate(block_pos: &Vector3<i32>, block: &mut WorldBlock) {
|
||||
if block_pos.z > 32 as i32 { return; }
|
||||
|
||||
let mut rng = rand::thread_rng();
|
||||
let noise = Perlin::new();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user