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

Namespaces

namespace  hmap
 

Functions

glm::ivec2 hmap::pick_boundary_cell (const Array &z, DomainBoundary boundary, uint seed, bool favor_boundary_center=true, bool favor_lower_elevation=true, bool favor_sinks=true)
 Picks a boundary cell using weighted random selection.