Vec2.add

void add(graphene.vec2.Vec2 b, out graphene.vec2.Vec2 res) nothrow

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

Parameters

ba #graphene_vec2_t
resreturn location for the result