operator + method

Offset3D operator +(
  1. Offset3D other
)

Implementation

Offset3D operator +(Offset3D other) =>
    Offset3D(x + other.x, y + other.y, z + other.z);