VectorVector constructor

VectorVector(
  1. Vector2 start,
  2. Vector2 end
)

Implementation

VectorVector(this.start, this.end)
    : x = end.x - start.x,
      y = end.y - start.y;