# Include
# Include
# Include
# Include
# Include
int main ()
{
glClear (GL_COLOR_BUFFER_BIT);
glColor3f (1.0,0.0,0.0);
glBegin (GL_POLYGON);
glVertex3f (0.25,0.25,0.0);
glVertex3f (0.75,0.25,0.0);
glVertex3f (0.75,0.75,0.0);
glVertex3f (0.25,0.75,0.0);
glEnd ();
glFlush ();
return (0);
}
Then, after gcc-lglut first.c compile, execute. / A, what output does not, experts advise ~!
Reply:
Explain, I installed the package are: freeglut-2.6.0.tar.gz, are we going to install something else ah?
Reply:
This ...... do not know where you draw ............
No comments:
Post a Comment