[SDL] "Perfect" circles

Peter Mulholland darkmatter at freeuk.com
Wed Nov 8 02:48:29 PST 2006


Hello xEsk,

Tuesday, October 31, 2006, 9:01:38 PM, you wrote:

> Hello!

> 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!

> Sorry, I know isn't a specific SDL question, but I'm desperate.

Not really a solution to your problem, but don't bother making sin/cos
tables. These days, there is no point.

Also, we can't see the drawing code....


-- 
Best regards,
 Peter                            mailto:darkmatter at freeuk.com





More information about the SDL mailing list