pub fn new(block_meshes: Vec<BlockMesh>, renderer: WorldRenderer) -> Self {
        Self {
            chunks: HashMap::new(),
            meshing_worker: start_meshing_worker(block_meshes),
            close_chunks: CloseChunks::new(&RenderDistance::default()),
            renderer,
        }
    }
/// Create a new empty world using the provided chunks
Create a new empty world using the provided chunks
Create a new empty world using the provided chunks
pub fn new(block_meshes: Vec<BlockMesh>, renderer: WorldRenderer) -> Self {
        Self {
            chunks: HashMap::new(),
            meshing_worker: start_meshing_worker(block_meshes),
            close_chunks: CloseChunks::new(&RenderDistance::default()),
            renderer,
        }
    }
pub fn new ( block_meshes : Vec < BlockMesh > , renderer : WorldRenderer ) -> Self { Self { chunks : HashMap :: new ( ) , meshing_worker : start_meshing_worker ( block_meshes ) , close_chunks : CloseChunks :: new ( & RenderDistance :: default ( ) ) , renderer , } }
Create a new empty world using the provided chunks
Create a new empty world using the provided chunks
block_meshes
Vec<BlockMesh>
renderer
WorldRenderer
block_meshes
Vec<BlockMesh>
renderer
WorldRenderer