movelight.c
/*  Initialize material property, light source, lighting model,
 *  and depth buffer.
 */
Initialize material property, light source, lighting model,
and depth buffer.
Initialize material property light source lighting model and depth buffer .
void init(void) 
{
   glClearColor (0.0, 0.0, 0.0, 0.0);
   glShadeModel (GL_SMOOTH);
   glEnable(GL_LIGHTING);
   glEnable(GL_LIGHT0);
   glEnable(GL_DEPTH_TEST);
}
void init ( void ) { glClearColor ( 0.0 , 0.0 , 0.0 , 0.0 ) ; glShadeModel ( GL_SMOOTH ) ; glEnable ( GL_LIGHTING ) ; glEnable ( GL_LIGHT0 ) ; glEnable ( GL_DEPTH_TEST ) ; }
Initialize material property, light source, lighting model,
  and depth buffer.
Initialize material property light source lighting model and depth buffer .