Skip to main content

compute_flow_direction

Function compute_flow_direction 

Source
pub fn compute_flow_direction(hmap: &Heightmap) -> Vec<u8> ⓘ
Expand description

D8 flow direction (8 neighbors) — returns index 0-7 of steepest descent