mult method

void mult(
  1. Vec2 other
)

Implementation

void mult(Vec2 other) {
  x *= other.x;
  y *= other.y;
}