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

Namespaces

namespace  hmap
 

Functions

Array hmap::white (Vec2< int > shape, float a, float b, uint seed)
 Return an array filled with white noise.
 
Array hmap::white_density_map (const Array &density_map, uint seed)
 Return an array filled 1 with a probability based on a density map.
 
Array hmap::white_sparse (Vec2< int > shape, float a, float b, float density, uint seed)
 Return an array sparsely filled with white noise.
 
Array hmap::white_sparse_binary (Vec2< int > shape, float density, uint seed)
 Return an array sparsely filled with random 0 and 1.