1 /********************************************************************/
2 /* STRIPE: converting a polygonal model to triangle strips
5 Advisors: Steven Skiena and Amitabh Varshney
7 /********************************************************************/
9 /*---------------------------------------------------------------------*/
11 -----------------------------------------------------------------------*/
24 #define PI 3.1415926573
27 #define ATOI(C) (C -'0')
31 #define EVEN(x) (((x) & 1) == 0)
32 #define MAX_BAND 10000
35 VRDATA x, y, z; /* point coordinates */
38 extern int ids[STRIP_MAX];
39 extern int norms[STRIP_MAX];
40 extern int *vert_norms;
41 extern int *vert_texture;