Cogl.vector3_copy

function vector3_copy(vector: Number(gfloat)): Number(gfloat) {
    // Gjs wrapper for cogl_vector3_copy()
}
  

Allocates a new 3 component float vector on the heap initializing the components from the given vector and returns a pointer to the newly allocated vector. You should free the memory using Cogl.vector3_free

Since 1.4

vector

The 3 component vector you want to copy

Returns

A newly allocated 3 component float vector