pub fn midpoint<T>(p0: Vector2<T>, p1: Vector2<T>) -> Vector2<T>
where T: Real,
Expand description

Midpoint of a line segment defined by p0 to p1.