line-nearest-t ( p0 u q0 v -- tp tq )


Vocabulary
gml.viewer

Inputs
p0an object
uan object
q0an object
van object


Outputs
tpan object
tqan object


Definition


:: line-nearest-t ( p0 u q0 v -- tp tq )
p0 q0 v- :> w0 u u vdot :> a u v vdot :> b v v vdot
:> c u w0 vdot :> d v w0 vdot :> e a c * b b * -
:> denom b e * c d * - denom /f a e * b d * - denom /f ;