
2596.10 First-Person Perspective: Setting and Deployingthe Camera
Since the GLU library is unavailable for the mobile variant of OpenGL, we must take
care of the implementation ourselves. Beginning with iOS 5, developers have an alterna-
tive in the GLKit.
By a camera we understand the eye of the viewer, which can be located at various
places in our 3D world and can look in various directions. We must satisfy two criteria:
1. e camera should be able to be placed at any xyz-position.
2. From that position, we would like to x the viewing direction in the x-, y-, and
z-directions.
Moreover, the position and the viewing direction should be able ...