- Timestamp:
- May 22, 2008, 4:55:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/hud/RadarOverlayElement.cc
r1373 r1384 91 91 92 92 void RadarOverlayElement::update() { 93 shipPos_ = SpaceShip:: instance_s->getPosition();94 currentDir_ = SpaceShip:: instance_s->getOrientation()*initialDir_; // according to beni....95 currentOrth_ = SpaceShip:: instance_s->getOrientation()*initialOrth_;93 shipPos_ = SpaceShip::getLocalShip()->getPosition(); 94 currentDir_ = SpaceShip::getLocalShip()->getOrientation()*initialDir_; // according to beni.... 95 currentOrth_ = SpaceShip::getLocalShip()->getOrientation()*initialOrth_; 96 96 plane = Plane(currentDir_, shipPos_); 97 97
Note: See TracChangeset
for help on using the changeset viewer.