Function to compute distance between camera and screen center.
Function to compute the screen center.