Cogl.vector3_add

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

Adds each of the corresponding components in vectors a and b 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