unaryMinus

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

Negates the vector, flipping its direction.