OpenGL orientation on iPad

Moderator
Posts: 1,552
Joined: 2003.10
Post: #2
(Nov 8, 2010 10:19 AM)Fred9000 Wrote:  glTranslatef(0.0f, 0.0f, 0.0f);
glRotatef(0.0f, 0.0f, 0.0f, 1.0f);

These two statements have no effect. In general, though, you seem to be on the right track; altering your transformation and layout to match the desired orientation is the normal way to do this for an OpenGL application.
Quote this message in a reply
Post Reply 


Messages In This Thread
OpenGL orientation on iPad - Fred9000 - Nov 8, 2010, 10:19 AM
RE: OpenGL orientation on iPad - ThemsAllTook - Nov 8, 2010 12:25 PM
RE: OpenGL orientation on iPad - Fred9000 - Nov 8, 2010, 12:54 PM
RE: OpenGL orientation on iPad - Fred9000 - Nov 8, 2010, 02:56 PM
RE: OpenGL orientation on iPad - Fred9000 - Nov 9, 2010, 06:15 AM
RE: OpenGL orientation on iPad - Fred9000 - Nov 27, 2010, 01:21 AM
Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  SDL1.3/OpenGLES and iPhone Orientation SparkyNZ 10 8,777 Apr 13, 2011 02:38 AM
Last Post: SparkyNZ
  Orientation/rotation events shyguy 1 3,930 Dec 30, 2010 04:43 PM
Last Post: reubert