Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

trunk: new algorithm for the Camera-Distance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/hover.cc

    r6999 r7014  
    192192  dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true);
    193193
    194   State::getCamera()->setParentSoft(&this->cameraNode);
    195   State::getCamera()->setRelCoorSoft(-10, 0,0);
    196   State::getCameraTarget()->setParentSoft(&this->cameraNode);
     194  State::getCameraNode()->setParentSoft(&this->cameraNode);
     195  State::getCameraNode()->setRelCoorSoft(-10, 0,0);
     196  State::getCameraTargetNode()->setParentSoft(&this->cameraNode);
    197197}
    198198
Note: See TracChangeset for help on using the changeset viewer.