operator + method

Vector2i operator +(
  1. Vector2i other
)

Implementation

Vector2i operator +(Vector2i other) {
  Vector2i n = Clone();
  n.X += other.X;
  n.Z += other.Z;

  return n;
}