Skip to main content

distance

Function distance 

Source
pub fn distance(a: Vec2, b: Vec2) -> f64
Expand description

Euclidean distance |a - b|.