operator + method

Vector2d operator +(
  1. Vector2d other
)

Implementation

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

  return n;
}