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

Namespaces

namespace  hmap

Functions

Array hmap::sdf_2d_polyline (const Path &path, 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 signed distance field (SDF) of a 2D polyline.
Array hmap::sdf_2d_polyline_brute_force (const Path &path, 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_polyline_bvh (const Path &path, glm::ivec2 shape, const UvRect &uv_rect=UvRect::unit(), const Array *p_noise_x=nullptr, const Array *p_noise_y=nullptr)