Gimp.Vector3.prototype.normalize_val

function normalize_val(): Gimp.Vector3 {
    // Gjs wrapper for gimp_vector3_normalize_val()
}
  

Identical to [method@Vector3.normalize], but the vector is passed by value rather than by reference.

Returns

a Gimp.Vector3 parallel to vector, pointing in the same direction but with a length of 1.0.