1
0
Fork 0
flightgear/Stripe_w/output.h
1998-07-31 18:27:36 +00:00

34 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: output.h
-----------------------------------------------------------------------*/
#include "polverts.h"
#define TRIANGLE 3
#define MAGNITUDE 1000000
void Output_Tri(int id1, int id2, int id3,FILE *bands, int color1,
int color2, int color3,BOOL end);
void Sgi_Test();
int Polygon_Output(P_ADJACENCIES temp,int face_id,int bucket,
ListHead *pListHead, BOOL first, int *swaps,
FILE *bands,int color1,int color2,int color3,
BOOL global, BOOL end);
void Last_Edge();
void Extend_Backwards();
int Finished(int *swap, FILE *output, BOOL global);
int Extend_Face(int face_id,int e1,int e2,int *swaps,FILE *bands,
int color1,int color2,int color3,int *vert_norm, int normals,
int *vert_texture, int texture);
void Fast_Reset();