unaryMinus

open operator override fun unaryMinus(): MutableVec2(source)

Negates the vector, flipping its direction.

Return

A vector that points in the opposite direction.