Hey there,
I would like to draw some text accoring to a given direction.
So far, what I have been doing is this:
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
/* position the center /
glTranslatef(x, y, 0.0);
/ give the orientation */
glRotatef(my_angle, 0.0, 0.0, 1.0);
glRasterPos3f(0.0, 0.0, 0.0);
glutBitmapCharacter(my_font, my_char);
Ok so basically, I thought that this would give me some text drawn in the direction my_angle since I applied a rotation to GL_MODELVIEW… but it does not.
The text still appears horizontally.
Is there anyway to have the text appear diagonally then please?