Vec2.normalize

void normalize(out graphene.vec2.Vec2 res) nothrow

Computes the normalized vector for the given vector v.

Parameters

resreturn location for the normalized vector