Cogl.vector3_multiply_scalar

function vector3_multiply_scalar(vector: Number(gfloat), scalar: Number(gfloat)): void {
    // Gjs wrapper for cogl_vector3_multiply_scalar()
}
  

Multiplies each of the vector components by the given scalar.

Since 1.4

vector

The 3 component vector you want to manipulate

scalar

The scalar you want to multiply the vector components by