Interface 1



#include
#include

void main ()
{

glutInit (&argc, argv);

glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB);
glutInitWindowSize (640, 480);

glutInitPosition (100, 150);

glutCreateWindow (“nome da janela”);

glutDisplayFunc (Desenho);

glutReshapeFunc (Reshape);

glutMouseFunc (Mouse);

glutKeyboard (Teclado);

glutMainLoop ();

}