Gimp.Vector3.prototype.inner_product

function inner_product(vector2: Gimp.Vector3): Number(gdouble) {
    // Gjs wrapper for gimp_vector3_inner_product()
}
  

Computes the inner (dot) product of two 3D vectors. This product is zero if and only if the two vectors are orthogonal.

vector2

a pointer to the second Gimp.Vector3.

Returns

The inner product.