You've got it exactly. It's difficult to recalculate depth when you only have two dimensions. In a 3D environment it's as simple as you would expect.