Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6965 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Feb 1, 2006, 5:42:10 PM (19 years ago)
Author:
bensch
Message:

light is ok again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/camera.cc

    r6807 r6965  
    177177  if( currentMode != VIEW_FRONT) delay = (this->target->getVelocity()) / 25.0f;
    178178
    179 
    180   glMatrixMode (GL_MODELVIEW);
    181   glLoadIdentity();
    182 
    183  // Setting the Camera Eye, lookAt and up Vectors
     179   // Setting the Camera Eye, lookAt and up Vectors
    184180  gluLookAt(cameraPosition.x - delay.x, cameraPosition.y - delay.y, cameraPosition.z - delay.z,
    185181            targetPosition.x, targetPosition.y, targetPosition.z,
    186182            up.x, up.y, up.z);
     183
     184
     185  glMatrixMode (GL_MODELVIEW);
     186  glLoadIdentity();
     187
    187188}
    188189
Note: See TracChangeset for help on using the changeset viewer.