Calculate angles and off screen distances