VEC4_LEN

Evaluates to the number of components of a #graphene_vec4_t.

This symbol is useful when declaring a C array of floating point values to be used with graphene.vec4.Vec4.initFromFloat and graphene.vec4.Vec4.toFloat, e.g.

float v[GRAPHENE_VEC4_LEN];

// vec is defined elsewhere
graphene_vec4_to_float (&vec, v);

for (int i = 0; i < GRAPHENE_VEC4_LEN; i++)
  fprintf (stdout, "component %d: %g\n", i, v[i]);
enum VEC4_LEN = 4;