Vec2 constructor

Vec2(
  1. double x,
  2. double y
)

Implementation

Vec2(this.x, this.y);