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

Namespaces

namespace  hmap
 

Functions

void hmap::find_flow_apex (const Array &z, std::vector< int > &is, std::vector< int > &js)
 Identifies flow apex (source) cells using D8 flow routing.
 
void hmap::find_flow_sinks (const Array &z, std::vector< int > &is, std::vector< int > &js)
 Identifies the indices of flow sinks within the heightmap.
 
std::vector< glm::ivec2 > hmap::find_flow_sinks (const Array &z)