Gimp.Vector3.prototype.normalize

function normalize(): void {
    // Gjs wrapper for gimp_vector3_normalize()
}
  

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