You probably mean an orbit camera, use the new camera.c library, it has an orbit camera.

http://manual.3dgamestudio.net/camera_c.htm