Drawing a simple circle

How to draw a simple circle with filled color?
In my program, there are a triangle and a rectangle. I tried so many reference…but still can’t draw a circle…

Pls. help.


theres probably an easy way but you could use simple trig and a filled polygon.
should draw a portion then changing the sign +/- of x and y will get hte rest of a circle and just use these points for your filled polygon, ive never tried it in opengl but should easily work.
you could just use a quadratic disc, more setting up but easyer once set up, if yr not to sure on drawing circles with trig.

this topic has already been discussed to death. do a search on the forums

WOW, i never realised so many peops had troub with circles