Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  1
Language: C/C++
Code:
#include <stdio.h>
#include<GL/glut.h>
{
    int a;
    glutInit(&argc,argv);
    glutCreateWindow("circle");
    glBegin(GL_LINES);
    for(a=0;a<=360;a++)
    glVertex2f(0.5+0.2*cos(a),0.5+0.2*sin(a));
    glEnd();
    glFlush();
    glutMainLoop();
}     
          
          
Comments: