Mouse: drag to rotate, scroll to zoom, right-drag to pan.
Touch: one finger rotates, two fingers zoom and pan.