28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
/********************************************************************/
|
|
/* STRIPE: converting a polygonal model to triangle strips
|
|
Francine Evans, 1996.
|
|
SUNY @ Stony Brook
|
|
Advisors: Steven Skiena and Amitabh Varshney
|
|
*/
|
|
/********************************************************************/
|
|
|
|
/*---------------------------------------------------------------------*/
|
|
/* STRIPE: triangulatex.h
|
|
-----------------------------------------------------------------------*/
|
|
|
|
enum swap_type
|
|
{ ON, OFF};
|
|
|
|
void SGI_StripEx();
|
|
void Blind_TriangulateEx(int size, int *index, FILE *fp, FILE *output,
|
|
BOOL begin, int where );
|
|
void Non_Blind_TriangulateEx(int size,int *index, FILE *fp, FILE *output,
|
|
int next_face_id,int face_id,int where);
|
|
int AdjacentEx(int id2,int id1, int *list, int size);
|
|
void Delete_From_ListEx(int id,int *list, int size);
|
|
void Triangulate_PolygonEx(int out_edge1,int out_edge2,int in_edge1,
|
|
int in_edge2,int size,int *index,
|
|
FILE *output,FILE *fp,int reversed,int face_id,
|
|
int where);
|
|
void Rearrange_IndexEx(int *index, int size);
|
|
void Find_StripsEx();
|