operator unary- method

  1. @override
Point3 operator unary-()
override

Negates the point's components.

Implementation

@override
Point3 operator -() => Point3(-this.x, -this.y, -this.z);