Vec2.normalize

Computes the normalized vector for the given vector @v.

class Vec2
void
normalize
(
out Vec2 res
)

Parameters

res Vec2

return location for the normalized vector

Meta