Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3771 in orxonox.OLD for orxonox/branches/textEngine


Ignore:
Timestamp:
Apr 11, 2005, 12:03:28 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/textEngine: no more compile-warnings :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/textEngine/src/lib/graphics/font/text_engine.cc

    r3770 r3771  
    159159      GLdouble tmp[3];
    160160      gluProject(x, y, z, modMat, projMat, viewPort, tmp, tmp+1, tmp+2);
    161       printf("test %f %f %f,\n", tmp[0], tmp[1], tmp[2]);
    162161      pos.x = tmp[0] + this->posSize.x;
    163162      pos.y = GraphicsEngine::getInstance()->getResolutionY() - tmp[1] + this->posSize.y;
     
    179178     
    180179      glTexCoord2f(this->texCoord.minU, this->texCoord.minV);
    181       glVertex2i(pos.x,   pos.y  );
     180      glVertex2f(pos.x,   pos.y  );
    182181     
    183182      glTexCoord2f(this->texCoord.maxU, this->texCoord.minV);
    184       glVertex2i(pos.x + this->posSize.w, pos.y  );
     183      glVertex2f(pos.x + this->posSize.w, pos.y  );
    185184     
    186185      glTexCoord2f(this->texCoord.maxU, this->texCoord.maxV);
    187       glVertex2i(pos.x + this->posSize.w, pos.y + this->posSize.h);
     186      glVertex2f(pos.x + this->posSize.w, pos.y + this->posSize.h);
    188187     
    189188      glTexCoord2f(this->texCoord.minU, this->texCoord.maxV);
    190       glVertex2i(pos.x, pos.y + this->posSize.h);
     189      glVertex2f(pos.x, pos.y + this->posSize.h);
    191190     
    192191      glEnd();
Note: See TracChangeset for help on using the changeset viewer.