mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 17:43:53 +01:00
//noise2d infrared: remove debug print
This commit is contained in:
parent
643e1a2dce
commit
e85b91d074
@ -22,13 +22,9 @@ function Infrared:noise( x, y, z )
|
||||
for ny=y-self.window,y+self.window do
|
||||
for nz=z-self.window,z+self.window do
|
||||
table.insert(values, self.white:noise(nx, ny, nz))
|
||||
|
||||
print("DEBUG nx", nx, "ny", ny, "nz", nz, "value", value)
|
||||
end
|
||||
end
|
||||
end
|
||||
for i,value in ipairs(values) do
|
||||
end
|
||||
return wea.average(values)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user