Vocabulary
jamshred.tunnel

Inputs
currentan object
nextan object
locationan object
headingan object


Outputs
distancean object


Definition


:: distance-to-next-segment-area
( current next location heading -- distance )
current forward>> :> cf next current half-way-between-oints
:> h cf h vdot cf location vdot - cf heading vdot / ;