Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2008, 10:29:58 PM (16 years ago)
Author:
FelixSchulthess
Message:

minor hud/radar adjustments

Location:
code/branches/network/src/orxonox/hud
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/orxonox/hud/HUD.cc

    r1461 r1463  
    129129        node = sm->getRootSceneNode()->createChildSceneNode("tomato3", Vector3(0.0, 0.0, 2000.0));
    130130        addRadarObject(node);
     131        node = sm->getRootSceneNode()->createChildSceneNode("station", Vector3(10000.0,16000.0,0.0));
     132        addRadarObject(node, 3);
    131133    }
    132134
  • code/branches/network/src/orxonox/hud/RadarOverlayElement.cc

    r1456 r1463  
    9090            // set size to fit distance...
    9191            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);
    9695
    9796            if (right){
Note: See TracChangeset for help on using the changeset viewer.