main #21

Closed
kistaro wants to merge 76 commits from main into some_level
Showing only changes of commit 64c8bca3c0 - Show all commits

View File

@ -137,10 +137,7 @@ function _rast(
end
local dx,dy=abs(x1-x0),abs(y1-y0)
local sx=-1
local sy=-1
if (x0<x1) sx=1
if (y0<y1) sy=1
local sx,sy=sgn(x1-x0),sgn(y1-y0)
local done,err
if dx>dy then