Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
floppy.rules
floppy.rules's Profile
1
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
how to rotate text around its center in OpenGL?
[0 Replies]
28-Jan-2012 08:04 AM
Forum:
Core Library Questions
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
«Prev
Next »
Moderate user : floppy.rules
Forum