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

Namespaces

namespace  hmap

Functions

Array hmap::sdf_2d_graph (const Graph &graph, glm::ivec2 shape, const UvRect &uv_rect=UvRect::unit(), const Array *p_noise_x=nullptr, const Array *p_noise_y=nullptr, bool use_bvh=true)
 Computes the 2D unsigned distance field to a graph network.
Array hmap::sdf_2d_graph_brute_force (const Graph &graph, glm::ivec2 shape, const UvRect &uv_rect=UvRect::unit(), const Array *p_noise_x=nullptr, const Array *p_noise_y=nullptr)
Array hmap::sdf_2d_graph_bvh (const Graph &graph, glm::ivec2 shape, const UvRect &uv_rect=UvRect::unit(), const Array *p_noise_x=nullptr, const Array *p_noise_y=nullptr)