Changeset 10403 in orxonox.OLD for trunk/src/world_entities/camera.cc
- Timestamp:
- Jan 27, 2007, 12:21:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.cc
r10396 r10403 258 258 Vector cameraPosition = this->getAbsCoor(); 259 259 Vector targetPosition = this->target->getAbsCoor(); 260 260 261 261 262 //Setting the Camera Eye, lookAt and up Vectors … … 497 498 if (fabs(translateTo.len() - (target->getAbsCoor()).len()) >= 11 ) 498 499 { 499 printf("translate\n");500 500 Vector tmpVec= iterate(dt, &translateTo, &(masta->getAbsCoor())); 501 501 target->shiftCoor(speed*tmpVec.x, speed*tmpVec.y, speed*tmpVec.z);
Note: See TracChangeset
for help on using the changeset viewer.