April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Sistema solar: implementação
int main (int argc, char **argv) {
  /* GLUT - Initialization */
  glutInit(&argc, argv);
  glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH);
  glutInitWindowSize(500, 500);
  glutCreateWindow("CG2001-T1");
/* Registrando callbacks */
  glutDisplayFunc(display);
  glutReshapeFunc(redraw);                              Programa: Lua_scene.cpp
//  glutMouseFunc(mouseCall);
//  glutMotionFunc(motionCall);
//  glutKeyboardFunc(keyboardCall);
  glutIdleFunc(display);
 
  /* GLUT main loop */
  glutMainLoop();
  return 0;
}