is there an opengl function for drawing a circle?
Nope. Use a for-loop and some trigonometry and draw them yourself instead.
How about this:
void circle(float radius)
finally some circle code that works - thanks man.