Changeset 3749 in orxonox.OLD for orxonox/branches/textEngine/src/lib/graphics/font/glfont.cc
- Timestamp:
- Apr 7, 2005, 6:34:52 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/textEngine/src/lib/graphics/font/glfont.cc
r3748 r3749 312 312 313 313 printf("%d, %d\n", this->fastTextureID, glyphArray[65]->displayList); 314 glCallList(glyphArray[65]->displayList); 314 char* tmpText = this->currentText->text; 315 while (*tmpText != '\0') 316 { 317 if(glyphArray[*tmpText]) 318 { 319 glCallList(this->glyphArray[*tmpText]->displayList); 320 glTranslatef(this->glyphArray[*tmpText]->width, 0, 0); 321 } 322 tmpText++; 323 } 315 324 } 316 325 this->leave2DMode();
Note: See TracChangeset
for help on using the changeset viewer.