add method

Vec add(
  1. Vec other
)

Implementation

Vec add(Vec other) => Vec(x + other.x, y + other.y, z);