Mail Archives: djgpp/1997/07/15/11:42:11
i was wondering if there was a way to add more elements to a struct in
C....allegro has the folowing V3D struct
typedef struct V3D
{
fixed x, y, z;
fixed u, v;
int c;
}
and i want to add:
fixed nox, noy, noz;
fixed nwx, nwy, nwz;
for the normals...i use to just comment the structure out and rewrite
it...but everytime i upgreade allegro, it copies over the allegro.h
file...so my structure is lost...so i'm wondering if i can redefine the
structure elsewear in one of my headers....thankz...
- Raw text -