Camera rotation in 3D using mouse

This seems to have been answered in your other post