Xiaolin Wu's line algorithm: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 62:
xend := round(x1)
yend := y1 + gradient * (xend - x1)
xgap := fpartrfpart(x1 + 0.5)
xpxl2 := xend //this will be used in the main loop
ypxl2 := ipart(yend)