HighMap library (C++)
Loading...
Searching...
No Matches
erosion_maps.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  hmap

Functions

void hmap::erosion_maps (Array &z_before, Array &z_after, Array &erosion_map, Array &deposition_map, float tolerance=0.f)
 Computes erosion and deposition delta maps from terrain states before and after erosion.
Array hmap::generate_bedrock (const Array &z, float elevation_strength, float slope_strength, float slope_limit, float zmin=0.f, float zmax=-1.f)
 Generates a modified bedrock heightmap from an input elevation array.