- Timestamp:
- Oct 14, 2008, 12:20:14 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/overlays/hud/HUDRadar.cc
r1819 r1916 38 38 #include "core/CoreIncludes.h" 39 39 #include "core/XMLPort.h" 40 #include "objects/SpaceShip.h"41 #include "objects/WorldEntity.h"42 40 #include "objects/Radar.h" 43 41 #include "tools/TextureGenerator.h" … … 91 89 void HUDRadar::displayObject(RadarViewable* object, bool bIsMarked) 92 90 { 91 /* 93 92 const WorldEntity* wePointer = object->getWorldEntity(); 94 93 … … 100 99 return; 101 100 } 102 101 */ 103 102 // try to find a panel already created 104 103 Ogre::PanelOverlayElement* panel; … … 126 125 } 127 126 panel->show(); 128 127 /* 129 128 // set size to fit distance... 130 129 float distance = (wePointer->getWorldPosition() - SpaceShip::getLocalShip()->getPosition()).length(); … … 144 143 this->marker_->setPosition((1.0 + coord.x - size * 1.5) * 0.5, (1.0 - coord.y - size * 1.5) * 0.5); 145 144 } 145 */ 146 146 } 147 147
Note: See TracChangeset
for help on using the changeset viewer.