Changeset 10092 in orxonox.OLD for branches/playability/src/lib/gui
- Timestamp:
- Dec 18, 2006, 8:39:38 PM (18 years ago)
- Location:
- branches/playability/src/lib/gui/gl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/lib/gui/gl/glgui_widget.cc
r9869 r10092 915 915 } 916 916 917 void GLGuiWidget::beginDraw() const 918 { 919 glPushMatrix(); 920 glTranslatef(this->getAbsCoor2D().x, this->getAbsCoor2D().y, 0); 921 glRotatef(this->getAbsDir2D(), 0, 0, 1); 922 } 923 917 924 918 925 } -
branches/playability/src/lib/gui/gl/glgui_widget.h
r9869 r10092 244 244 245 245 /// RENDERING 246 inline void beginDraw() const { glPushMatrix(); glTranslatef(this->getAbsCoor2D().x, this->getAbsCoor2D().y, 0); };246 void beginDraw() const; 247 247 inline void endDraw() const { glPopMatrix(); }; 248 248
Note: See TracChangeset
for help on using the changeset viewer.