Calculate the size of difference in direction

Can the camera go upside-down and roll?