unaryMinus

operator fun unaryMinus(): Vec2

Negates the current instance vector and return this.

Return

Return the negative form of the instance vector.