[SDL] "Perfect" circles

Rainer Deyke rainerd at eldwood.com
Wed Nov 8 15:36:42 PST 2006


Bill Kendrick wrote:
> On Wed, Nov 08, 2006 at 10:26:45PM +0000, Peter Mulholland wrote:
>>Even then you only need a sine table, and enough to cover one quadrant
>>only. Takes me back to my Amiga days ;)
> 
> Indeed!

If you're only drawing circles, you don't need trigonometric functions 
at all.  Just use Bresenham's algorithm.


-- 
Rainer Deyke - rainerd at eldwood.com





More information about the SDL mailing list