Xiaolin Wu's line algorithm: Difference between revisions

Content deleted Content added
No edit summary
m minor correction to pseudocode
Line 46:
xend = round(x2)
yend = y2 + gradient * (xend - x2)
xgap = rfpartfpart(x2 -+ 0.5)
xpxl2 = xend '' // this will be used in the main loop''
ypxl2 = ipart(yend)