subtract

fun subtract(vector: Vec2): Vec2

Subtracts a specified vector from this vector.

Return

this vector after subtracting the specified vector from it

Parameters

vector

the vector to subtract