add

fun add(v: Vec2): Vec2

Adds a vector to the current instance and return this.

Return

Returns the current instance vector.

Parameters

v

Vector to add.