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

Namespaces

namespace  hmap

Functions

Path hmap::dijkstra (const Path &path, const Array &array, const UvRect &uv_rect, float elevation_ratio=0.f, float distance_exponent=0.5f, float upward_penalization=0.1f, Array *p_mask_nogo=nullptr)
 Divide the path by adding points based on the lowest elevation difference between each pair of edge endpoints.