Skip to main content

perp_distance

Function perp_distance 

Source
fn perp_distance(p: Vec2, a: Vec2, b: Vec2) -> f32
Expand description

Perpendicular distance from p to the line through a and b.