Removed useless rounding
This commit is contained in:
parent
dee419d2fd
commit
454372931e
6
day2.p8
6
day2.p8
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user