drag the mouse to let a camera around an object 360 rotation

Here’s a smaller project with mouse rotate about point, or in android VR it acts as a swivel chair orbit.