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

Namespaces

namespace  hmap

Functions

Array hmap::stamping (glm::ivec2 shape, const std::vector< float > &xr, const std::vector< float > &yr, const std::vector< float > &zr, Array kernel, int kernel_ir, bool kernel_scale_radius, bool kernel_scale_amplitude, StampingBlendMethod blend_method, std::uint32_t seed, float k_smoothing=0.1f, bool kernel_flip=true, bool kernel_rotate=false, const UvRect &uv_rect_array=UvRect::unit())
 Generate a heightmap by stamping a kernel at predefined locations.