Joe Graphics wrote the following code:
glBegin( GL_LINE_STRIP );for( float angle = 0.; angle <= 360.; angle += 10. ){ float x = Radius * cos( TO_RADIANS( angle ) ); float y = Radius * sin( TO_RADIANS( angle ) ); glVertex2f( x, y );}glEnd( );
What is he trying to do?
a. Drawing a 2D filled-in circle
b. Nothing -- this is not legal OpenGL
c. Drawing a graph of a sine function
d. Drawing a 2D circle outline