Skip to main content

simulate_river

Function simulate_river 

Source
pub fn simulate_river(
    hmap: &Heightmap,
    start: Vec2,
    min_height: f32,
) -> RiverPath
Expand description

Simulate a river starting from a source by following the steepest descent gradient