Cogl.Matrix.prototype.copy

function copy(): Cogl.Matrix {
    // Gjs wrapper for cogl_matrix_copy()
}
  

Allocates a new Cogl.Matrix on the heap and initializes it with the same values as matrix.

Since 1.6

Returns

A newly allocated Cogl.Matrix which should be freed using Cogl.Matrix.prototype.free