Fix filled circles
_horizontal_line can't make this optimization without respect to camera
This commit is contained in:
parent
05e8ba8401
commit
b94c76d16b
4
api.lua
4
api.lua
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue