glBegin(GL_LINE_LOOP); for(i=0; i<n; ++i) glVertex2f(R*cos(2*Pi/n*i), R*sin(2*Pi/n*i)); glEnd(); glFlush(); } void myDisplay()
確定! 回上一頁