Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10593 in orxonox.OLD for branches/cleanup/src/world_entities/effects


Ignore:
Timestamp:
Feb 14, 2007, 7:27:23 PM (18 years ago)
Author:
snellen
Message:

cleaned up the cameramanager, commented all functions, corrected spelling mistakes :-P

Location:
branches/cleanup/src/world_entities/effects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/cleanup/src/world_entities/effects/billboard.cc

    r10591 r10593  
    134134  this->material->select();
    135135
    136   const CameraMan* man = State::getCameraman();
    137   const Camera* camera = man->getCurrentCam(); //!< @todo MUST be different
     136  const Camera* camera = State::getCamera();
    138137  Vector cameraPos = camera->getAbsCoor();
    139138  Vector cameraTargetPos = camera->getTarget()->getAbsCoor();
  • branches/cleanup/src/world_entities/effects/wobblegrid.cc

    r10591 r10593  
    201201void Wobblegrid::orient()
    202202{
    203      
    204      CameraMan* cman = State::getCameraman();
    205      Camera* c = cman->getCurrentCam();
     203
     204  Camera* c = State::getCamera();
    206205
    207206  Vector view = this->getAbsCoor() - c->getAbsCoor();
Note: See TracChangeset for help on using the changeset viewer.