Function veloren_world::sim::erosion::get_multi_drainage
source ยท pub fn get_multi_drainage(
map_size_lg: MapSizeLg,
mstack: &[u32],
mrec: &[u8],
mwrec: &[[f64; 8]],
_boundary_len: usize,
) -> Box<[f64]>
Expand description
Compute the water flux at all chunks for multiple receivers, given a list of chunk indices sorted by increasing height and weights for each receiver.