[SDL] "Perfect" circles

Christoph Freundl Scusi at wormsofprey.org
Wed Nov 8 05:55:22 PST 2006


Am Dienstag, 31. Oktober 2006 22:01 schrieb xEsk PiV:
> Somebody knows why this code does not make "perfect" circles? How I
> can improve the precision? I have tested this same code in Delphi
> and works perfectly. Can it be problem of the SDL_Rect? I'm using
> C++.
>
> I have seen some programs done in SDL that make this perfectly!

Can you give some sample code that shows a "non-perfect" circle? When I 
tried your routines in a small test program, they worked fine.

Regards, Christoph

-- 
                                          _   http://wormsofprey.org
        *__*  __   __ __    __      __  _|_      __   __   ___       
(__(__( (__) |  ' |  )  ) __)      (__)  |      |__) |  ' (__/_ (__| 
The new and free real-time Worms game           |                  | 




More information about the SDL mailing list