div method

Vector2D div(
  1. Vector2D o
)

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

Implementation

Vector2D div(Vector2D o) => .vec2(x / o.x, y / o.y);