typedef union { int i; unsigned int u; float f; const void *v; const char *s; } Arg; typedef struct { float x, y, z; } Point; typedef struct { Point pos; float azim, rad; } Camera; typedef struct { Point p[3]; unsigned int col; } Triangle; extern Camera cam; extern float hfov, vfov; extern void *ren;