in reply to Re^2: Split range 0 to M into N non-overlapping (roughly equal) ranges.
in thread Split range 0 to M into N non-overlapping (roughly equal) ranges.
The problem with Bresenham is that it requires you to iterate the entire range (segment) one at a time.
For 360 degrees (or just 45 if you use the 1/8th mirroring optimisation), that isn't a problem, but for ranges above 100,000 or so (and many of mine are in the 10s or 100s of millions), it would be horribly slow.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Split range 0 to M into N non-overlapping (roughly equal) ranges.
by Corion (Patriarch) on Mar 12, 2011 at 23:21 UTC | |
by BrowserUk (Patriarch) on Mar 13, 2011 at 00:22 UTC |