mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-08-21 14:04:06 +02:00
noise2d/make_2d: add todo
This commit is contained in:
parent
46c2a02ade
commit
7db2207aea
@ -25,6 +25,7 @@ function worldeditadditions.noise.make_2d(size, start_pos, params)
|
||||
return false, "Error: Unknown noise algorithm '"..tostring(layer.algorithm).."' in layer "..layer_i.." of "..#params.." (available algorithms: "..table.concat(wea.noise.engines.available, ", ")..")."
|
||||
end
|
||||
|
||||
-- TODO: Optimise performance by making i count backwards in sequence
|
||||
for x = 0, size.x - 1 do
|
||||
for y = 0, size.z - 1 do
|
||||
local i = y*size.x + x
|
||||
|
Loading…
Reference in New Issue
Block a user