Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 2, 2006, 5:38:44 AM (18 years ago)
Author:
bensch
Message:

compiling radar

File:
1 edited

Legend:

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

    r8993 r8994  
    115115  void GLGuiRadar::draw() const
    116116  {
     117    this->beginDraw();
     118    GLGuiWidget::draw();
     119
    117120    for (unsigned int i = 0; i < this->_dotLists.size(); ++i)
    118121    {
     122      glColor4fv(&_dotLists[i].dotColor[0]);
    119123      for (unsigned int j = 0; j < this->_dotLists[i].positions.size(); ++j)
    120124      {
     125        glBegin(GL_POINTS);
     126
     127        glVertex2f(this->_dotLists[i].positions[i].x, this->_dotLists[i].positions[i].y);
     128
     129        glEnd();
    121130      }
    122131    }
     132
     133    this->endDraw();
    123134  }
    124135
Note: See TracChangeset for help on using the changeset viewer.