00001 // file vertex_face.h /// 00002 00009 typedef struct Renderer_VERTEX { 00010 vector p; 00011 ivector ip; 00012 double u,v; 00013 double x,y; 00014 vector pskp,pskc; 00015 BOOL bskp,bskc; 00016 } vertex; 00017 00024 typedef struct Renderer_FACE { 00025 UNSIGNED V[3]; 00026 // 00027 unsigned char color[3]; // primary colour 00028 BOOL bSmooth,bShiny; // bShiny is 'legacy' only for old models 00029 BOOL bFmc; // Face has mapping coords assigned in the designer 00030 short ffmap; 00031 short ffmat; 00032 short top,bottom, 00033 left,right; 00034 vector n; 00035 double c; 00036 vector pn[3]; 00042 double uu[3],vv[3]; 00043 double ww[3]; 00044 } face; 00045 00047 00059 typedef struct Renderer_TVERTEX_tag { 00060 ivector ip; 00061 } tvertex; 00062 00069 typedef struct Renderer_TFACE_tag { 00070 UNSIGNED V[3]; 00071 long o; 00072 long f; 00073 long x; 00074 vector n; 00075 } tface;