Function veloren_world::layer::wildlife::apply_wildlife_supplement

source ยท
pub fn apply_wildlife_supplement<'a, R: Rng>(
    dynamic_rng: &mut R,
    wpos2d: Vec2<i32>,
    get_column: impl FnMut(Vec2<i32>) -> Option<&'a ColumnSample<'a>>,
    vol: &(impl RectSizedVol<Vox = Block> + ReadVol + WriteVol),
    index: IndexRef<'_>,
    chunk: &SimChunk,
    supplement: &mut ChunkSupplement,
    time: Option<&(TimeOfDay, Calendar)>,
)