00001 #ifndef __HEMI__OPTIMIZE_H_ 00002 #define __HEMI__OPTIMIZE_H_ 00003 00004 #include "mesh.h" 00005 00006 typedef struct hemi_opt_tri 00007 { 00008 int i; // index (from original model) 00009 int v[3]; // vertices 00010 struct hemi_opt_tri* n[3]; // neighbors 00011 int nn; // num neighbors 00012 int s; // strip 00013 int sp; // strip position 00014 } hemi_opt_tri_t; 00015 00016 00017 int hemi_stripify_mesh(hemi_mesh_t*); 00018 00019 #endif