//noise2d infrared: remove debug print

This commit is contained in:
Starbeamrainbowlabs 2021-07-13 00:56:26 +01:00
parent 643e1a2dce
commit e85b91d074
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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