vector3_init


Description:

public void vector3_init (float vector, float x, float y, float z)

Initializes a 3 component, single precision float vector which can then be manipulated with the cogl_vector convenience APIs.

Vectors can also be used in places where a "point" is often desired.

Parameters:

vector

The 3 component vector you want to initialize

x

The x component

y

The y component

z

The z component


Namespace: Cogl
Package: doc