Vec2.normalize

Computes the normalized vector for the given vector v.

class Vec2
void
normalize

Parameters

res graphene.vec2.Vec2

return location for the normalized vector