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

Namespaces

namespace  hmap
 

Functions

Array hmap::island_chain_land_mask (glm::ivec2 shape, const Path &path, std::uint32_t seed, int island_count=5, float island_radius=0.1f, float size_falloff=0.5f, float size_jitter=0.3f, float scatter=0.f, float displacement=0.2f, NoiseType noise_type=NoiseType::SIMPLEX2S, float kw=4.f, int octaves=8, float weight=0.f, float persistence=0.5f, float lacunarity=2.f, glm::vec4 bbox={0.f, 1.f, 0.f, 1.f})
 Generates a land mask of an island chain scattered along a path.