Fix filled circles

_horizontal_line can't make this optimization without respect to camera
This commit is contained in:
gamax92 2016-08-06 11:01:38 -06:00
parent 05e8ba8401
commit b94c76d16b
1 changed files with 1 additions and 3 deletions

View File

@ -20,9 +20,7 @@ local function warning(msg)
end
local function _horizontal_line(lines, x0, y, x1)
if y>=0 and y<pico8.resolution[2] then
table.insert(lines, {x0+0.5, y+0.5, x1+1.5, y+0.5})
end
table.insert(lines, {x0+0.5, y+0.5, x1+1.5, y+0.5})
end
local function _plot4points(lines, cx, cy, x, y)