Changeset 1408
- Timestamp:
- May 24, 2008, 2:07:04 PM (17 years ago)
- Location:
- code/branches/network/src/orxonox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/hud/RadarObject.cc
r1406 r1408 31 31 #include <string.h> 32 32 #include <OgreOverlayManager.h> 33 #include <OgrePanelOverlayElement.h>34 33 #include <OgreStringConverter.h> 35 #include <util/Math.h>36 34 37 35 namespace orxonox -
code/branches/network/src/orxonox/hud/RadarObject.h
r1406 r1408 29 29 #define _RADAR2_H__ 30 30 #include <OgrePrerequisites.h> 31 #include <OgrePanelOverlayElement.h> 31 32 #include "../OrxonoxPrereqs.h" 33 #include "util/Math.h" 32 34 33 35 namespace orxonox -
code/branches/network/src/orxonox/hud/RadarOverlayElement.cc
r1406 r1408 78 78 79 79 void RadarOverlayElement::update() { 80 <<<<<<< .working81 shipPos_ = SpaceShip::getLocalShip()->getPosition();82 currentDir_ = SpaceShip::getLocalShip()->getOrientation()*initialDir_; // according to beni....83 currentOrth_ = SpaceShip::getLocalShip()->getOrientation()*initialOrth_;84 plane = Plane(currentDir_, shipPos_);85 86 RadarObject* ro = firstRadarObject_;87 =======88 80 shipPos_ = SpaceShip::getLocalShip()->getPosition(); 89 81 currentDir_ = SpaceShip::getLocalShip()->getDir(); 90 82 currentOrth_ = SpaceShip::getLocalShip()->getOrth(); 91 83 RadarObject* ro = HUD::getSingleton().getFirstRadarObject(); 92 >>>>>>> .merge-right.r140193 84 // iterate through all RadarObjects 94 85 while(ro != NULL){ -
code/branches/network/src/orxonox/hud/RadarOverlayElement.h
r1406 r1408 31 31 #include <util/Math.h> 32 32 #include <OgrePrerequisites.h> 33 #include <OgrePanelOverlayElement.h> 33 34 #include "../OrxonoxPrereqs.h" 34 35 #include "RadarObject.h" -
code/branches/network/src/orxonox/objects/SpaceShip.cc
r1406 r1408 318 318 } 319 319 320 Vector3 SpaceShip::getSPosition() {321 return SpaceShip::getLocalShip()->getPosition();322 }323 324 Quaternion SpaceShip::getSOrientation() {325 return SpaceShip::getLocalShip()->getOrientation();326 }327 328 320 Vector3 SpaceShip::getDir() { 329 321 return currentDir_;
Note: See TracChangeset
for help on using the changeset viewer.