Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7107 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Feb 7, 2006, 11:06:19 PM (19 years ago)
Author:
patrick
Message:

trunk: fog patch

File:
1 edited

Legend:

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

    r7014 r7107  
    181181  Vector targetPosition = this->target->getAbsCoor();
    182182
    183    // Setting the Camera Eye, lookAt and up Vectors
     183  glMatrixMode (GL_MODELVIEW);
     184  glLoadIdentity();
     185
     186     // Setting the Camera Eye, lookAt and up Vectors
    184187  gluLookAt(cameraPosition.x, cameraPosition.y, cameraPosition.z,
    185188            targetPosition.x, targetPosition.y, targetPosition.z,
     
    187190
    188191
    189   glMatrixMode (GL_MODELVIEW);
    190   glLoadIdentity();
    191 
    192192}
    193193
Note: See TracChangeset for help on using the changeset viewer.