pub const fn midpoint_2d(left: Point2, right: Point2) -> Point2
Returns the midpoint between two 2D points.