Changeset 1406 for code/branches/network/src/orxonox/hud/RadarObject.cc
- Timestamp:
- May 24, 2008, 1:39:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/hud/RadarObject.cc
r1373 r1406 29 29 #include "RadarObject.h" 30 30 31 #include <string.h> 32 #include <OgreOverlayManager.h> 33 #include <OgrePanelOverlayElement.h> 34 #include <OgreStringConverter.h> 35 #include <util/Math.h> 36 31 37 namespace orxonox 32 38 { … … 35 41 int RadarObject::count = 0; // initialize static variable 36 42 37 RadarObject::RadarObject(O gre::OverlayContainer* container){43 RadarObject::RadarObject(OverlayContainer* container){ 38 44 container_ = container; 39 45 pos_ = Vector3(0.0, 0.0, 0.0); … … 41 47 } 42 48 43 RadarObject::RadarObject(O gre::OverlayContainer* container, Vector3 pos){49 RadarObject::RadarObject(OverlayContainer* container, Vector3 pos){ 44 50 container_ = container; 45 51 pos_ = pos; … … 51 57 void RadarObject::init(){ 52 58 next = NULL; 53 om = &O gre::OverlayManager::getSingleton();59 om = &OverlayManager::getSingleton(); 54 60 panel_ = static_cast<PanelOverlayElement*>(om->createOverlayElement("Panel", 55 "Object"+ Ogre::StringConverter::toString(count)));61 "Object"+StringConverter::toString(count))); 56 62 panel_->setMaterialName("Orxonox/RedDot"); 57 63 panel_->setDimensions(3,3); … … 63 69 } 64 70 } 65 66 /* my local clipboard...67 COUT(3) << "WWWWWWWWWWWWWWWWWWWWWWWWWWWW\n";68 COUT(3) << firstRadarObject_->radius_ << " " << firstRadarObject_->phi_ << std::endl;69 COUT(3) << "WWWWWWWWWWWWWWWWWWWWWWWWWWWW\n";70 */
Note: See TracChangeset
for help on using the changeset viewer.