How to Rotate the text!!!
lBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
Texture2D *text=[[Texture2D alloc] initWithString:@"Hello" dimensions:CGSizeMake(256, 256) alignment:UITextAlignmentLeft fontName:@"Arial" fontSize:14];
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
To display the text above code is ok.Then how to rotate the text using the texture2d class!!!
Last edited by lokidil; 05-05-2009 at 06:40 AM.
|