HighMap library (C++)
|
Namespaces | |
namespace | hmap |
Functions | |
Array | hmap::sdf_2d_polyline (const Path &path, Vec2< int > shape, Vec4< float > bbox={0.f, 1.f, 0.f, 1.f}, const Array *p_noise_x=nullptr, const Array *p_noise_y=nullptr) |
Computes the signed distance field (SDF) of a 2D polyline. | |
Array | hmap::sdf_2d_polyline_bezier (const Path &path, Vec2< int > shape, Vec4< float > bbox={0.f, 1.f, 0.f, 1.f}, const Array *p_noise_x=nullptr, const Array *p_noise_y=nullptr) |
See hmap::sdf_2d_polyline, with a Bezier approximation of the path. | |