Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2007, 3:46:05 PM (18 years ago)
Author:
gfilip
Message:

the skybox problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camera/src/story_entities/menu/game_menu.cc

    r9869 r10259  
    110110  this->subscribeEvent(ES_MENU, SDLK_ESCAPE);
    111111
    112   this->dataTank->localCamera->setRelCoor(this->cameraVector);
     112  State::getCamera()->setRelCoor(this->cameraVector);
    113113
    114114  GraphicsEngine::getInstance()->displayFPS(false);
     
    390390  Quaternion q(/*0.00005*/ dt * .1, Vector(0.0, 1.0, 0.0));
    391391  this->cameraVector = q.apply(this->cameraVector);
    392   this->dataTank->localCamera->setRelCoor(this->cameraVector);
    393   this->dataTank->localCamera->getTarget()->setRelCoorSoft(0,0,0);
     392  State::getCamera()->setRelCoor(this->cameraVector);
     393  State::getCamera()->getTarget()->setRelCoorSoft(0,0,0);
    394394}
    395395
Note: See TracChangeset for help on using the changeset viewer.