Removed useless rounding

This commit is contained in:
Simon Cambier 2023-12-02 11:30:49 +01:00
parent dee419d2fd
commit 454372931e

View File

@ -164,13 +164,13 @@ local iter = cocreate(function()
end
-- viz
for i = 1, minred do
add(flakes, { rnd(128) \ 1, -rnd(20) \ 1, 8 })
add(flakes, { rnd(128), -rnd(20), 8 })
end
for i = 1, mingreen do
add(flakes, { rnd(128) \ 1, -rnd(20) \ 1, 11 })
add(flakes, { rnd(128), -rnd(20), 11 })
end
for i = 1, minblue do
add(flakes, { rnd(128) \ 1, -rnd(20) \ 1, 12 })
add(flakes, { rnd(128), -rnd(20), 12 })
end
sumpower = strdsum(sumpower, tostr(minred * mingreen * minblue))