|
HighMap library (C++)
|
Header file for signed distance functions. More...
Go to the source code of this file.
Namespaces | |
| namespace | hmap |
| namespace | hmap::gpu |
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. | |
| Array | hmap::gpu::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) |
| See hmap::sdf_2d_polyline. | |
| Array | hmap::gpu::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_bezier. | |
Header file for signed distance functions.