vector3_copy


Description:

public float vector3_copy (float vector)

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 vector3_free

Parameters:

vector

The 3 component vector you want to copy

Returns:

A newly allocated 3 component float vector


Namespace: Cogl
Package: doc