In the book, many examples feature the sack step to produce a total distance. In some cases, if all you want is the total, the path step is enough. A by modulator can be used to inject a constant value of zero for path elements that do not have a 'dist' property.
In the book, many examples feature the
sack
step to produce a total distance. In some cases, if all you want is the total, thepath
step is enough. Aby
modulator can be used to inject a constant value of zero for path elements that do not have a 'dist' property.