Vec2.normalize

void normalize(out graphene.vec2.Vec2 res)

Computes the normalized vector for the given vector v.

Parameters

resreturn location for the normalized vector