title: How to Use a Quaternion to Control a Camera
body: <p>I am trying to allow orbiting of a camera around a sphere in my 3D scene. I have decided to go the route of quaternions. I am having a bit of trouble understanding where to start with it though. I don't know how to set them up correctly and how to apply it to my camera. After that, I don't know how I would go about controlling the camera with a virtual joystick on the screen. I have read about quaternions a lot but most example don't give an example of how to use them in 3D programming. Any ideas?</p>