Method

GimpVector2normalize

Declaration [src]

void
gimp_vector2_normalize (
  GimpVector2* vector
)

Description [src]

Normalizes the vector so the length of the vector is 1.0. The nul vector will not be changed.