minus

open operator override fun minus(right: Vector2): Vector2(source)

Subtracts the specified value from the current value.

Return

The result of the subtraction.

Parameters

right

The value to be subtracted from the current value.


operator fun minus(d: Double): Vector2(source)