Changeset 1782 for code/trunk/src/orxonox/overlays/hud
- Timestamp:
- Sep 15, 2008, 9:41:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/overlays/hud/HUDRadar.cc
r1747 r1782 93 93 const WorldEntity* wePointer = object->getWorldEntity(); 94 94 95 // Just to be sure that we actually have a WorldEntity 96 // We could do a dynamic_cast, but that 's a lot slower95 // Just to be sure that we actually have a WorldEntity. 96 // We could do a dynamic_cast, but that would be a lot slower. 97 97 if (!wePointer) 98 98 { … … 125 125 panel->setMaterialName(materialName); 126 126 } 127 panel->show(); 127 128 128 129 // set size to fit distance... … … 147 148 void HUDRadar::radarTick(float dt) 148 149 { 150 for (itRadarDots_ = radarDots_.begin(); itRadarDots_ != radarDots_.end(); ++itRadarDots_) 151 (*itRadarDots_)->hide(); 149 152 this->itRadarDots_ = this->radarDots_.begin(); 150 153 this->marker_->hide();
Note: See TracChangeset
for help on using the changeset viewer.