VEC3_LEN

Evaluates to the number of components of a #graphene_vec3_t.

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

float v[GRAPHENE_VEC3_LEN];

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

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