Hi there,
can anybody tell me how to rotate a PFont text around its center, using OpenGL at the same time?
By now, I only got it to rotate around the upper left corner of the textbox. textMode(CENTER) doesn't work in OpenGL =(
the part of my code looks like this:
int a;
.
.
.
a++;
.
.
.
translate(width/2, height/2);
rotate(radians(0+a));
text("Hello", 0,0,500,500);
Any idea?
Regards
floppy
1