]> git.mxchange.org Git - flightgear.git/blob - Stripe_w/triangulatex.h
Use long int for index instead of just int.
[flightgear.git] / Stripe_w / triangulatex.h
1 /********************************************************************/
2 /*   STRIPE: converting a polygonal model to triangle strips    
3      Francine Evans, 1996.
4      SUNY @ Stony Brook
5      Advisors: Steven Skiena and Amitabh Varshney
6 */
7 /********************************************************************/
8
9 /*---------------------------------------------------------------------*/
10 /*   STRIPE: triangulatex.h
11 -----------------------------------------------------------------------*/
12
13 enum swap_type
14 { ON, OFF};
15
16 void SGI_StripEx();
17 void Blind_TriangulateEx(int size, int *index, FILE *fp, FILE *output, 
18                          BOOL begin, int where );
19 void Non_Blind_TriangulateEx(int size,int *index, FILE *fp, FILE *output,
20                              int next_face_id,int face_id,int where);
21 int AdjacentEx(int id2,int id1, int *list, int size);
22 void Delete_From_ListEx(int id,int *list, int size);
23 void Triangulate_PolygonEx(int out_edge1,int out_edge2,int in_edge1,
24                            int in_edge2,int size,int *index,
25                            FILE *output,FILE *fp,int reversed,int face_id,
26                            int where);
27 void Rearrange_IndexEx(int *index, int size);
28 void Find_StripsEx();