News

First off a normal DDA algorithm, that's easy.. Then off to Bresenham and midpoint, but almost all sources I have found says that Bresenham and midpoint is the same one.
If you do decide to use DDA, the only problem with your algorithm (AFAICS) is what Shamyl Zakariya pointed out. Actually, it's generally a good idea to check for zero divisor cases even if you're ...