ptlined VEX function
This function returns the closest distance between the point Q and a finite line segment between points P0 and P1.
Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex
-
float ptlined(vector P0, vector P1, vector Q)
This function returns the closest distance between the point Q and a finite line segment between points P0 and P1.