HighMap library (C++)
Loading...
Searching...
No Matches
dig_river.cpp File Reference

Namespaces

namespace  hmap
 

Functions

void hmap::dig_river (Array &z, const std::vector< Path > &path_list, float riverbank_talus, int river_width=0, int merging_width=0, float depth=0.f, float riverbed_talus=0.f, float noise_ratio=0.9f, uint seed=0, Array *p_mask=nullptr)
 Modifies the elevation array to carve a river along a specified path.
 
void hmap::dig_river (Array &z, const Path &path, float riverbank_talus, int river_width=0, int merging_width=0, float depth=0.f, float riverbed_talus=0.f, float noise_ratio=0.9f, uint seed=0, Array *p_mask=nullptr)