Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5418 in orxonox.OLD for trunk/src/lib/graphics/render2D


Ignore:
Timestamp:
Oct 21, 2005, 1:13:58 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Text offers its Size to Element2D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/render2D/element_2d.cc

    r5417 r5418  
    939939  glRotatef(this->getAbsDir2D(), 0,0,1);
    940940  glBegin(GL_LINE_LOOP);
    941   glVertex2f(-this->getSizeX2D(), -this->getSizeY2D());
    942   glVertex2f(-this->getSizeX2D(), +this->getSizeY2D());
     941  glVertex2f(0, 0);
     942  glVertex2f(0, +this->getSizeY2D());
    943943  glVertex2f(+this->getSizeX2D(), +this->getSizeY2D());
    944   glVertex2f(+this->getSizeX2D(), -this->getSizeY2D());
     944  glVertex2f(+this->getSizeX2D(), 0);
    945945  glEnd();
    946946
Note: See TracChangeset for help on using the changeset viewer.