iterate over struct elements in c code example
Example: loop through structure c
typedef union vec3_u
{
struct vec3_s {
float x, y, z;
};
float vect3_a[3];
}
vec3;
typedef union vec3_u
{
struct vec3_s {
float x, y, z;
};
float vect3_a[3];
}
vec3;