diff --git a/kubi-shared/src/worldgen.rs b/kubi-shared/src/worldgen.rs index 782ba91..7514f6f 100644 --- a/kubi-shared/src/worldgen.rs +++ b/kubi-shared/src/worldgen.rs @@ -1,6 +1,6 @@ use bracket_noise::prelude::*; use rand::prelude::*; -use glam::{IVec3, ivec3}; +use glam::{IVec3, ivec3, Vec3Swizzles, IVec2}; use rand_xoshiro::Xoshiro256StarStar; use crate::{ chunk::{BlockData, CHUNK_SIZE}, @@ -41,8 +41,12 @@ pub fn generate_world(chunk_position: IVec3, seed: u64) -> (BlockData, Vec (BlockData, Vec