Changeset 8994 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Jul 2, 2006, 5:38:44 AM (19 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/Makefile.am
r8991 r8994 32 32 \ 33 33 \ 34 elements/glgui_energywidget.cc \ 35 elements/glgui_radar.cc 36 34 elements/glgui_energywidget.cc 37 35 38 36 … … 66 64 \ 67 65 elements/glgui_energywidget.h \ 68 elements/glgui_radar.h \69 66 \ 70 67 \ -
trunk/src/world_entities/WorldEntities.am
r8894 r8994 56 56 world_entities/elements/image_entity.cc \ 57 57 world_entities/elements/text_element.cc \ 58 world_entities/elements/glgui_radar.cc \ 58 59 \ 59 60 world_entities/effects/lightning_bolt.cc \ … … 115 116 elements/image_entity.h \ 116 117 elements/text_element.h \ 118 elements/glgui_radar.h \ 117 119 \ 118 120 effects/lightning_bolt.h \ -
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.