unaryMinus

operator fun Matrix3.unaryMinus(): Matrix3

Inverts currently stored values.

Return

a new Matrix3 with the operation result.


operator fun Matrix4.unaryMinus(): Matrix4

Inverts currently stored values.

Return

a new Matrix4 with the operation result.


operator fun Vector2.unaryMinus(): Vector2

Inverts currently stored X and Y values.

Return

a new Vector2 instance with the operation result.


operator fun Vector3.unaryMinus(): Vector3

Inverts stored X, Y and Z values.

Return

a new Vector3 with negated values.


operator fun Vector4.unaryMinus(): Vector4

Inverts stored X, Y, Z, and W values.

Return

a new Vector4 with negated values.