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

Namespaces

namespace  hmap

Functions

Array hmap::band (glm::ivec2 shape, float angle, float length=0.5f, float width=0.1f, RadialProfile profile=RadialProfile::RP_SMOOTHSTEP, float profile_param=0.f, const Array *p_noise_r=nullptr, const Array *p_noise_offset=nullptr, glm::vec2 center={0.5f, 0.5f}, const UvRect &uv_rect=UvRect::unit())
 Generate a bounded band (capsule) mask.