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}, glm::vec4 bbox={0.f, 1.f, 0.f, 1.f})
 Generate a bounded band (capsule) mask.