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 surface with a tilt curve beneath. You can see that the tool axis has the same direction like the shortest 3D distance between surface toolpath point and the curve.
Fixed tilt angle