News for hackers. Stuff that matters.
Re:The Beauty of Bresenham's Algorithm by FredBrach on Wednesday August 08, 2012 @12:43AM (#4353950)
I think you have the last words because line drawing algorithms become irrelevant if you use a Floating Point Unit.

just:

{ x++ and y+=slope } or { y++ and x+= 1./slope }

Then slopes are always rational in line drawing algorithms.

Re:The Beauty of Bresenham's Algorithm by ralph on Wednesday August 08, 2012 @05:26AM (#4354668)
If y and slope are floating point in the first block then might not y end at other than the desired endpoint because of accumulative error?