Function veloren_common::terrain::neighbors

source ยท
pub fn neighbors(
    map_size_lg: MapSizeLg,
    posi: usize,
) -> impl Clone + Iterator<Item = usize>
Expand description

Iterate through all cells adjacent to a chunk.