divide method

void divide(
  1. Vec2 other
)

Implementation

void divide(Vec2 other) {
  x /= other.x;
  y /= other.y;
}