Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7014 in orxonox.OLD for trunk/src/lib/particles


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/particles/sprite_particles.cc

    r6846 r7014  
    135135    //! @todo implement a faster code for the look-at Camera algorithm.
    136136
    137     const PNode* camera = State::getCamera();  //!< @todo MUST be different
     137    const PNode* camera = State::getCameraNode();  //!< @todo MUST be different
    138138    Vector cameraPos = camera->getAbsCoor();
    139     Vector cameraTargetPos = State::getCameraTarget()->getAbsCoor();
     139    Vector cameraTargetPos = State::getCameraTargetNode()->getAbsCoor();
    140140    Vector view = cameraTargetPos - cameraPos;
    141141    Vector up = Vector(0, 1, 0);
Note: See TracChangeset for help on using the changeset viewer.