fn perp_distance(p: Vec2, a: Vec2, b: Vec2) -> f32
Perpendicular distance from p to the line through a and b.
p
a
b