Get all points in circle

BlitzMax Forums/BlitzMax Programming/Get all points in circle

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

http://www.blitzbasic.com/codearcs/codearcs.php?code=1478

http://www.blitzbasic.com/codearcs/codearcs.php?code=1479

I only know it as the midpoint circle algorithm but it is very similar to the bresenham line routine in that it uses only integers, uses a wrap-around overflow, and lets you draw one pixel at a time.