mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-06-28 07:54:55 +00:00
10 lines
253 B
Lua
10 lines
253 B
Lua
|
--[[
|
||
|
2D erosion algorithm based on snowballs
|
||
|
Note that this *mutates* the given heightmap.
|
||
|
@source https://jobtalle.com/simulating_hydraulic_erosion.html
|
||
|
|
||
|
]]--
|
||
|
function worldeditadditions.erode.snowballs(heightmap, heightmap_size, erosion_params)
|
||
|
|
||
|
end
|