divide method

Vector2 divide(
  1. Vector2 v
)

Implementation

Vector2 divide(Vector2 v) {
  x /= v.x;
  y /= v.y;

  return this;
}