minus

operator fun minus(v1: Vec2): Vec2

Subtract a vector from the current instance vector.

Return

Returns a new Vec2 with the subtracted vector applied

Parameters

v1

Vector to subtract.