unaryMinus

open operator override fun unaryMinus(): Vec3

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

Return

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