HighMap library (C++)
Loading...
Searching...
No Matches
random.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  hmap
 

Functions

Array hmap::white (glm::ivec2 shape, float a, float b, std::uint32_t seed)
 Return an array filled with white noise.
 
Array hmap::white_density_map (const Array &density_map, std::uint32_t seed)
 Return an array filled 1 with a probability based on a density map.
 
Array hmap::white_sparse (glm::ivec2 shape, float a, float b, float density, std::uint32_t seed)
 Return an array sparsely filled with white noise.
 
Array hmap::white_sparse_binary (glm::ivec2 shape, float density, std::uint32_t seed)
 Return an array sparsely filled with random 0 and 1.
 

Detailed Description

Author
Otto Link (otto..nosp@m.link.nosp@m..bv@g.nosp@m.mail.nosp@m..com)