mirror of
https://gitlab.com/gaelysam/mapgen_rivers.git
synced 2025-01-01 05:50:34 +01:00
Removed useless debug print
This commit is contained in:
parent
34de4269ee
commit
eba90803fe
3
init.lua
3
init.lua
@ -157,9 +157,6 @@ local function generate(minp, maxp, seed)
|
|||||||
local poly = polygons[i]
|
local poly = polygons[i]
|
||||||
if poly then
|
if poly then
|
||||||
local xf, zf = geometry.transform_quadri(poly.x, poly.z, x/blocksize, z/blocksize)
|
local xf, zf = geometry.transform_quadri(poly.x, poly.z, x/blocksize, z/blocksize)
|
||||||
if xf < 0 or xf > 1 or zf < 0 or zf > 1 then
|
|
||||||
print(xf, zf, x, z)
|
|
||||||
end
|
|
||||||
local i00, i01, i11, i10 = unpack(poly.i)
|
local i00, i01, i11, i10 = unpack(poly.i)
|
||||||
|
|
||||||
local terrain_height = math.floor(interp(
|
local terrain_height = math.floor(interp(
|
||||||
|
Loading…
Reference in New Issue
Block a user