...
#include <gltex.h>
...
void main()
{
  GLuint texid;
  texid=gltex::gltexLoadTexture("my_picture.tga");
  ...
}
... #include <glfont.h> GLfont *g_Font; ... void main() { ... // load font g_Font=new GLfont("../font/default.tga"); ... } void render() { ... g_Font->printString(0.0,0.5,0.1,"Text at (0.0,0.5) of size 0.1"); ... }
The text can also be translated and sized using MODELVIEW matrix.
 The function printStringNeed retrieves the space needed on screen to display a text. 
 1.3.5
 
1.3.5