Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10403 in orxonox.OLD for trunk/src/world_entities/camera.cc


Ignore:
Timestamp:
Jan 27, 2007, 12:21:10 AM (17 years ago)
Author:
patrick
Message:

fading now works

File:
1 edited

Legend:

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

    r10396 r10403  
    258258  Vector cameraPosition = this->getAbsCoor();
    259259  Vector targetPosition = this->target->getAbsCoor();
     260
    260261
    261262        //Setting the Camera Eye, lookAt and up Vectors
     
    497498  if (fabs(translateTo.len()  - (target->getAbsCoor()).len()) >= 11 )
    498499 {
    499    printf("translate\n");
    500500   Vector tmpVec= iterate(dt,  &translateTo,  &(masta->getAbsCoor()));
    501501   target->shiftCoor(speed*tmpVec.x, speed*tmpVec.y, speed*tmpVec.z);
Note: See TracChangeset for help on using the changeset viewer.