I’m trying to rotate some text but it refuses to co-operate.
When I draw a line in the “rotate text” section of code the line rotates but the text stays put.
Here is the code :
glPushMatrix;
glRotatef(30,0,0,1);
glBegin(GL_LINE_STRIP);
glVertex2f(0,0);
glVertex2f(0.3,0);
glEnd;
glRasterPos2f(0, 0);
glPushAttrib(GL_LIST_BIT);
glListBase(FontBase - 32);
glCallLists(length(Text), GL_UNSIGNED_BYTE, PChar(Text));
glPopAttrib();
glPopMatrix;
Why does the line rotate but the text not?
What am I doing wrong?
Thanks
Paul