vm_geom3_segment struct
#include <vecmat/geom3.h>
Closest point on a segment a + t (b - a), t in [0, 1].
Public variables
- bool ok
- false if the segment has zero length.
-
vm_
float_ t t - Parameter in
[0, 1]. - vector3 point
- Closest point on the segment.