# Gimp.Vector3.sub

    function sub(vector1: Gimp.Vector3, vector2: Gimp.Vector3): Gimp.Vector3 {
        // Gjs wrapper for gimp_vector3_sub()
    }

Computes the difference of two 3D vectors (vector1 minus vector2). The resulting Gimp.Vector3 is stored in @result.

vector1

  a pointer to the first Gimp.Vector3.

vector2

  a pointer to the second Gimp.Vector3.

Returns

  the destination for the resulting Gimp.Vector3.