add


Description:

[ Version ( since = "1.0" ) ]
public Vec2 add (Vec2 b)

Adds each component of the two passed vectors and places each result into the components of res.

Parameters:

this

a Vec2

b

a Vec2

res

return location for the result