Using gluLookAt to move camera in 2D iPhone game ?
- by Mr.Gando
Hey guys,
I'm trying to use gluLookAt to move the camera in my iPhone game, but every time I've tried to use gluLookAt my screen just goes "blank" ( grey in this case )
I'm trying to render a simple triangle and to move the camera, this is my code:
to setup my scene I do:
glViewport(0, 0, backingWidth, backingHeight);…