operator - method

Vector3 operator -(
  1. Vector3 other
)

A new vector this - other.

Implementation

Vector3 operator -(Vector3 other) =>
    Vector3(x - other.x, y - other.y, z - other.z);