WIP generating chunks at player position
This commit is contained in:
@@ -39,7 +39,7 @@ impl WorldGen {
|
||||
/*
|
||||
* Generate block
|
||||
*/
|
||||
pub fn generate(block_pos: &Point3<u32>, block: &mut WorldBlock) {
|
||||
pub fn generate(block_pos: &Point3<i32>, block: &mut WorldBlock) {
|
||||
let mut rng = rand::thread_rng();
|
||||
let noise = Perlin::new();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user