unaryMinus

abstract operator override fun unaryMinus(): Vector2D

Performs a negation of this vector, resulting in a new vector with inverted x and y directions.