midpoint property

Vector2 get midpoint

Implementation

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