pub fn midpoint<T>(p0: Vector2<T>, p1: Vector2<T>) -> Vector2<T>where T: Real,
Midpoint of a line segment defined by p0 to p1.
p0
p1