mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-23 12:05:01 +00:00
//noise2d infrared: remove debug print
This commit is contained in:
parent
643e1a2dce
commit
e85b91d074
1 changed files with 0 additions and 4 deletions
|
@ -22,13 +22,9 @@ function Infrared:noise( x, y, z )
|
||||||
for ny=y-self.window,y+self.window do
|
for ny=y-self.window,y+self.window do
|
||||||
for nz=z-self.window,z+self.window do
|
for nz=z-self.window,z+self.window do
|
||||||
table.insert(values, self.white:noise(nx, ny, nz))
|
table.insert(values, self.white:noise(nx, ny, nz))
|
||||||
|
|
||||||
print("DEBUG nx", nx, "ny", ny, "nz", nz, "value", value)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
for i,value in ipairs(values) do
|
|
||||||
end
|
|
||||||
return wea.average(values)
|
return wea.average(values)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue