Changeset 10473 in orxonox.OLD for trunk/src/world_entities/effects
- Timestamp:
- Jan 29, 2007, 12:55:48 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/effects/billboard.cc
r10433 r10473 22 22 #include "glincl.h" 23 23 #include "state.h" 24 24 #include "cameraman.h" 25 #include "camera.h" 25 26 26 27 #include "debug.h" … … 133 134 this->material->select(); 134 135 135 const PNode* camera = State::getCameraNode(); //!< @todo MUST be different 136 const CameraMan* man = State::getCameraman(); 137 const Camera* camera = man->getCurrentCam(); //!< @todo MUST be different 136 138 Vector cameraPos = camera->getAbsCoor(); 137 Vector cameraTargetPos = State::getCameraTargetNode()->getAbsCoor();139 Vector cameraTargetPos = camera->getAbsCoor(); 138 140 Vector view = cameraTargetPos - cameraPos; 139 141 Vector up = Vector(0, 1, 0);
Note: See TracChangeset
for help on using the changeset viewer.