Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8997 in orxonox.OLD for trunk/src/world_entities/elements


Ignore:
Timestamp:
Jul 2, 2006, 6:27:43 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: RADAR shows the correct Elements now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/elements/glgui_radar.cc

    r8996 r8997  
    108108        if (_centerNode->distance(*it) < this->_range)
    109109        {
    110           this->_dotLists[i].positions.push_back(Vector2D(50, 50) + Vector2D(_centerNode->getAbsCoor().x - (*it)->getAbsCoor().x, _centerNode->getAbsCoor().y - (*it)->getAbsCoor().y)* (50.0 /_range));
     110          this->_dotLists[i].positions.push_back(Vector2D(50, 50) + Vector2D(_centerNode->getAbsCoor().x - (*it)->getAbsCoor().x, _centerNode->getAbsCoor().z - (*it)->getAbsCoor().z)* (50.0 /_range));
    111111        }
    112112
Note: See TracChangeset for help on using the changeset viewer.