unaryMinus

open operator fun unaryMinus(): Vec2

Creates new vector which has components with opposite sign to the vector.

Return

new vector, which has components with opposite sign to the vector