Here the direction of your tool axis is the same like the shortest distance between your present toolpath point and the tilt curve. So the 3D-length is used.
The following example shows a wavy surface with a tilt curve above. You can see that the tool axis has the same direction like the shortest 3D distance between surface toolpath point and the curve.