Changeset 7107 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Feb 7, 2006, 11:06:19 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.cc
r7014 r7107 181 181 Vector targetPosition = this->target->getAbsCoor(); 182 182 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 184 187 gluLookAt(cameraPosition.x, cameraPosition.y, cameraPosition.z, 185 188 targetPosition.x, targetPosition.y, targetPosition.z, … … 187 190 188 191 189 glMatrixMode (GL_MODELVIEW);190 glLoadIdentity();191 192 192 } 193 193
Note: See TracChangeset
for help on using the changeset viewer.