A camera at a point $(x,y,z)$ inside a dome of radius $r$ is focused on the dome wall with a radial angle $\phi$ and polar angle $\theta$. I know the values for $x,y,z,\theta, \phi$ and $r$.
How can I calculate new values for $\theta$ and $\phi$ at coordinates $(0,0,0)$ so that the camera is pinting at the same point in the dome's wall?