Xiaolin Wu's line algorithm: Difference between revisions

Content deleted Content added
intery := intery + gradient should have been inside the for loop. it was indented as if it were but syntactically it was not
Function calls everywhere had no space between the function name and the argument, except in two places. Now consistent.
Line 80:
plot(ipart(intery)+1, x, fpart(intery))
else
plot(x, ipart (intery), rfpart(intery))
plot(x, ipart (intery)+1, fpart(intery))
end if
intery := intery + gradient