midpoint property

Vector2 midpoint

Implementation

Vector2 get midpoint => (from + to)..scale(0.5);