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

Namespaces

namespace  hmap

Functions

Array hmap::caldera (glm::ivec2 shape, float radius, float sigma_inner, float sigma_outer, float z_bottom, const Array *p_noise, float noise_r_amp, float noise_ratio_z, glm::vec2 center={0.5f, 0.5f}, const UvRect &uv_rect=UvRect::unit())
 Return a caldera-shaped heightmap.
Array hmap::caldera (glm::ivec2 shape, float radius, float sigma_inner, float sigma_outer, float z_bottom, glm::vec2 center={0.5f, 0.5f}, const UvRect &uv_rect=UvRect::unit())
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.