Changeset 1463 for code/branches/network/src/orxonox/hud
- Timestamp:
- May 28, 2008, 10:29:58 PM (16 years ago)
- Location:
- code/branches/network/src/orxonox/hud
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/hud/HUD.cc
r1461 r1463 129 129 node = sm->getRootSceneNode()->createChildSceneNode("tomato3", Vector3(0.0, 0.0, 2000.0)); 130 130 addRadarObject(node); 131 node = sm->getRootSceneNode()->createChildSceneNode("station", Vector3(10000.0,16000.0,0.0)); 132 addRadarObject(node, 3); 131 133 } 132 134 -
code/branches/network/src/orxonox/hud/RadarOverlayElement.cc
r1456 r1463 90 90 // set size to fit distance... 91 91 float d = ((*it)->getPosition()-shipPos_).length(); 92 if(d<4000) (*it)->panel_->setDimensions(4,4); 93 else if(d<8000) (*it)->panel_->setDimensions(3,3); 94 else if(d<16000) (*it)->panel_->setDimensions(2,2); 95 else (*it)->panel_->setDimensions(1,1); 92 if(d<10000) (*it)->panel_->setDimensions(4,4); 93 else if(d<20000) (*it)->panel_->setDimensions(3,3); 94 else (*it)->panel_->setDimensions(2,2); 96 95 97 96 if (right){
Note: See TracChangeset
for help on using the changeset viewer.