Skip to main content

generate

Function generate 

Source
pub fn generate(
    heightmap: &Grid2D,
    precipitation: &Grid2D,
    sea_level: f32,
) -> RiverNetwork
Expand description

Generate river network from heightmap and precipitation.