- if ( !dl_exists ) {
- dl_exists = 1;
-
- /* printf("First time through, creating moon display list\n"); */
-
- moon = xglGenLists(1);
- xglNewList(moon, GL_COMPILE );
-
- /* xglMaterialfv(GL_FRONT, GL_AMBIENT, l->scene_clear);
- xglMaterialfv(GL_FRONT, GL_DIFFUSE, moon_color); */
- xglMaterialfv(GL_FRONT, GL_AMBIENT, black);
- xglMaterialfv(GL_FRONT, GL_DIFFUSE, moonColor);
-
- glutSolidSphere(1.0, 10, 10);
-
- xglEndList();