sub method
V2
sub(
- V2 o
Returns a new vector that is the component-wise difference of this and o.
Implementation
V2 sub(V2 o) => _v2(x - o.x, y - o.y);
Returns a new vector that is the component-wise difference of this and o.
V2 sub(V2 o) => _v2(x - o.x, y - o.y);