Hi! It's been quite a while since i've had to write something in C, and i have question. This is for a 3d object parser and i then have two structs.
typedef struct {
int numfaces,numpoints;
int *face1,*face2,*face3;
float *points1,*points2,*points3;
float *pointnrm1,*pointnrm2,*pointnrm3;
float *tmapx,*tmapy;
}meshes;
typedef struct {
char name[256];
float oaddx,oaddy;
}geoobject;
where geoobject is the main struct, and i need to some how inherit from meshes, since there can be more meshes in on object.
Any suggestion would be great!
thank you,
-babayaga