Rotate a 3D object in OpenGL ES

I have a 3D object rendered in OpenGL ES in iPhone.

When I touch the screen at some point say x-angle from the center. The object should be rotated proportional to the touch and slowly back to the original position.

Can anyone kindly suggest how to do it?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.