HighMap
HighMap copied to clipboard
A C++ library to generate two-dimensional terrain heightmaps for software rendering or video games.
-> remove closed loops
https://www.shadertoy.com/view/MlKcDD
clamp indices ``` for (int i = 0; i < shape.x; i++) for (int j = 0; j < shape.y; j++) { int ip = std::clamp((int)x[i], 0, array.shape.x - 1);...
- return ok/nok state ? (platform not available, could not build...)