operator + method

Vector3d operator +(
  1. Vector3d other
)

Implementation

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

  return n;
}