1 /********************************************************************/
2 /* STRIPE: converting a polygonal model to triangle strips
5 Advisors: Steven Skiena and Amitabh Varshney
7 /********************************************************************/
9 /*---------------------------------------------------------------------*/
11 -----------------------------------------------------------------------*/
15 BOOL new_vertex(double difference, int id1,int id2,
16 struct vert_struct *n);
17 BOOL Check_VN(int vertex,int normal, struct vert_added *added);
18 BOOL norm_array(int id, int vertex, double normal_difference,
19 struct vert_struct *n, int num_vert);
20 void add_texture(int id,BOOL vertex);
21 int add_vert_id(int id, int index_count);
22 void add_norm_id(int id, int index_count);
23 void AddNewFace(int ids[STRIP_MAX], int vert_count, int face_id,
24 int norms[STRIP_MAX]);
25 void CopyFace(int ids[STRIP_MAX], int vert_count, int face_id,
26 int norms[STRIP_MAX]);
27 void Add_Edge(int v1,int v2);
28 void Add_AdjEdge(int v1,int v2,int fnum,int index1 );