Okay... so I've been going through this book OpenGL Programming Guide but I found you can't quite copy everything straight out of it for Mac OS X... it took me looking through the ADC documentation a bit to find out connect views and stuff to have it work.
This was very useful for finding how to use OpenGL in Mac OS X
Does anyone have anything similar for the iPhone now? I tried doing almost the same exact thing (except I added the OpenGLES framework instead of the OpenGL framework.)
So... most of the functions don't work. glOrtho, glBegin, glEnd, glVertex3f (and 2f), all got errors. What would be the proper OpenGL ES functions to use in their place?
This was very useful for finding how to use OpenGL in Mac OS X
Does anyone have anything similar for the iPhone now? I tried doing almost the same exact thing (except I added the OpenGLES framework instead of the OpenGL framework.)
So... most of the functions don't work. glOrtho, glBegin, glEnd, glVertex3f (and 2f), all got errors. What would be the proper OpenGL ES functions to use in their place?