#include <GL/gl.h>
#include <GL/glut.h>
#include <cstring>
#include <cstdarg>
#include <cstdio>

Go to the source code of this file.
Functions | |
| void | glPrintf (const char *msg,...) |
| void glPrintf | ( | const char * | msg, | |
| ... | ||||
| ) |
prints in 3D a la printf Position the text with glTranslate() Currently, bitmaps are displayed, glScale() does not work NB: this file does rely on glut to load the used font
glColor3f(1,1,1); glTranslatef(10,10,0); glPrintf("value: %f\n", value);
1.5.5