Landscape Mode in OpenGL ES - Help
You need to specify how much to rotate. (the last parameter)
Like so:
Like so:
Code:
glOrthof(-160.0f, 160.0f, -240.0f, 240.0f, -1.0f, 1.0f);
glRotatef(90.0f, 0.0f, 0.0f, 1.0f);---Kelvin--
15.4" MacBook Pro revA
1.83GHz/2GB/250GB
| Messages In This Thread |
|
Landscape Mode in OpenGL ES - Help - Lostlogic - Oct 19, 2008, 07:43 AM
Landscape Mode in OpenGL ES - Help - maximile - Oct 19, 2008, 07:53 AM
Landscape Mode in OpenGL ES - Help - Lostlogic - Oct 19, 2008, 07:55 AM
Landscape Mode in OpenGL ES - Help - Blacktiger - Oct 19, 2008, 11:51 AM
Landscape Mode in OpenGL ES - Help - smallstepforman - Oct 23, 2008, 03:28 PM
Landscape Mode in OpenGL ES - Help - kelvin - Oct 23, 2008 09:37 PM
|
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Attempting to add landscape IB buttons to an openGL View | Madrayken | 1 | 3,004 |
Oct 17, 2010 07:03 AM Last Post: iamflimflam1 |
|
| Landscape app sometimes thinks portrait | bruss14 | 1 | 1,861 |
Dec 30, 2009 01:32 PM Last Post: bruss14 |
|
| Chipmunk moonbuggy dynamic landscape | wonza | 5 | 3,087 |
Nov 6, 2009 01:08 AM Last Post: wonza |
|
| iPhone opengl 2d sprites landscape mode | mnorton | 6 | 4,873 |
Sep 9, 2009 08:27 PM Last Post: mnorton |
|
| How can I add autorotate (landscape, portrait) to an OpenGL ES app? | riruilo | 6 | 7,622 |
Feb 12, 2009 07:51 AM Last Post: AnotherJake |
|

