Function distance_to_line

Source
pub fn distance_to_line(p: Vec3, a: Vec3, b: Vec3) -> f32
Expand description

Quantize an f32

Determine the distance from a point to a line segment.