//Win32 Console Application#include #include const int n = 60;const GLfloat R = 0.2f;const GLfloat Pi = 3.1415926536f;void myDisplay(void){ int i; glClear(GL_COLOR_BUFFER_BIT); //点 glPointSize(2.0); glBegin(GL_POINTS); glVertex2f(0.0f, 0.0f); glEnd(); //由闭合折线组成的圆 glBegin(GL_LINE_LOOP); glColor3f(1.0,1.0,0.0); for(i=0; i
- 0
- 0
- 0
- 0
- 0
更多推荐
opengl 源码
发布评论