struct vec3 { float x, y, z; }; typedef struct vec3 vec3; struct triangle { vec3 a, b, c; vec3 normal; }; typedef struct triangle triangle;