Vector2 constructor
Construct a new vector with the specified values.
Implementation
factory Vector2(double x, double y) => new Vector2.zero()..setValues(x, y);
Construct a new vector with the specified values.
factory Vector2(double x, double y) => new Vector2.zero()..setValues(x, y);