Cogl.vector3_subtract

function vector3_subtract(result: Number(gfloat), a: Number(gfloat), b: Number(gfloat)): void {
    // Gjs wrapper for cogl_vector3_subtract()
}
  

Subtracts each of the corresponding components in vector b from a storing the results in result.

Since 1.4

result

Where you want the result written

a

The first vector operand

b

The second vector operand