Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10501 in orxonox.OLD for trunk/src/world_entities/effects


Ignore:
Timestamp:
Jan 30, 2007, 3:59:55 PM (18 years ago)
Author:
snellen
Message:

added method hide and unhide as scriptable to npc, small patch by lieni in billboard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/effects/billboard.cc

    r10491 r10501  
    137137  const Camera* camera = man->getCurrentCam(); //!< @todo MUST be different
    138138  Vector cameraPos = camera->getAbsCoor();
    139   Vector cameraTargetPos = camera->getAbsCoor();
     139  Vector cameraTargetPos = camera->getTarget()->getAbsCoor();
    140140  Vector view = cameraTargetPos - cameraPos;
    141141  Vector up = Vector(0, 1, 0);
Note: See TracChangeset for help on using the changeset viewer.