div method

V2 div(
  1. V2 o
)

Returns a new vector that is the component-wise quotient of this and o.

Implementation

V2 div(V2 o) => _v2(x / o.x, y / o.y);