- // set base color (I don't think this is doing anything here)
- // glMaterialfv (GL_FRONT, GL_AMBIENT, white);
- // (GL_FRONT, GL_DIFFUSE, white);
- // glMaterialfv (GL_FRONT, GL_SPECULAR, white);
- // glMaterialfv (GL_FRONT, GL_SHININESS, mat_shininess);
-
- sgVec3 sunpos;
- sgSetVec3( sunpos, l->sun_vec[0], l->sun_vec[1], l->sun_vec[2] );
- ssgGetLight( 0 ) -> setPosition( sunpos );