Changeset 8994 in orxonox.OLD for trunk/src/world_entities/elements
- Timestamp:
- Jul 2, 2006, 5:38:44 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/elements/glgui_radar.cc
r8993 r8994 115 115 void GLGuiRadar::draw() const 116 116 { 117 this->beginDraw(); 118 GLGuiWidget::draw(); 119 117 120 for (unsigned int i = 0; i < this->_dotLists.size(); ++i) 118 121 { 122 glColor4fv(&_dotLists[i].dotColor[0]); 119 123 for (unsigned int j = 0; j < this->_dotLists[i].positions.size(); ++j) 120 124 { 125 glBegin(GL_POINTS); 126 127 glVertex2f(this->_dotLists[i].positions[i].x, this->_dotLists[i].positions[i].y); 128 129 glEnd(); 121 130 } 122 131 } 132 133 this->endDraw(); 123 134 } 124 135
Note: See TracChangeset
for help on using the changeset viewer.