add method
Implementation
Vector2 add(Vector2 v, {Vector2? w}) {
if (w != null) {
print(
'THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead.');
return addVectors(v, w);
}
x += v.x;
y += v.y;
return this;
}