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

Namespaces

namespace  hmap
 

Functions

void hmap::square_fill_md (Array &array, Mat< int > &is_done, int i1, int i2, int j1, int j2, float noise_scale, std::mt19937 gen, std::uniform_real_distribution< float > dis)
 
void hmap::square_md (Array &array, Mat< int > &is_done, int step, float noise_scale, std::mt19937 gen, std::uniform_real_distribution< float > dis)
 
Array hmap::reverse_midpoint (const Array &array, uint seed, float noise_scale=1.f, float threshold=0.f)
 Apply the reverse midpoint displacement algorithm to the input array.