Original Post
I''ve created the following structure in a header(basicstuff.h)
typedef struct sphere{
float
x,
y,
z,
radias;
bool
inout;
} sphere;
but when I try to define another struct in entitys.h in which I have included basicstuff.h:
typedef struct entity{
sphere collision;
int state;
int value,value2;
} entity;
It claims to be unable to recognise "sphere". I could just move sphere into entitys.h, but I don''t want to for structural reasons, Klaus