Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7014 in orxonox.OLD for trunk/src/lib/graphics/effects


Ignore:
Timestamp:
Feb 3, 2006, 2:14:22 PM (19 years ago)
Author:
bensch
Message:

trunk: new algorithm for the Camera-Distance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/effects/lense_flare.cc

    r7009 r7014  
    202202
    203203    //set the frustum plane
    204   Vector psTarget = (State::getCameraTarget())->getAbsCoor();
    205   Vector psCamera = (State::getCamera())->getAbsCoor();
     204  Vector psTarget = (State::getCameraTargetNode())->getAbsCoor();
     205  Vector psCamera = (State::getCameraNode())->getAbsCoor();
    206206  Vector psCameraDir = psCamera - psTarget;
    207207  //PRINTF(0)("camera Dir: %f %f %f, camera: %f %f %f\n", psCameraDir.x, psCameraDir.y, psCameraDir.z, psCamera.x, psCamera.y, psCamera.z);
Note: See TracChangeset for help on using the changeset viewer.