operator ~/ method

Vec operator ~/(
  1. int other
)

Scales this Vec by other.

Implementation

Vec operator ~/(int other) => Vec(x ~/ other, y ~/ other);