1
0
Fork 0
flightgear/Tools/Stripe_u/global.h
2009-09-14 13:43:55 +02:00

37 lines
978 B
C

/********************************************************************/
/* STRIPE: converting a polygonal model to triangle strips
Francine Evans, 1996.
SUNY @ Stony Brook
Advisors: Steven Skiena and Amitabh Varshney
*/
/********************************************************************/
/*---------------------------------------------------------------------*/
/* STRIPE: global.h
-----------------------------------------------------------------------*/
#define VRDATA double
#define MAX1 60
#define TRUE 1
#define FALSE 0
#ifndef PI
# define PI 3.1415926573
#endif /* PI */
#define ATOI(C) (C -'0')
#define X 0
#define Y 1
#define Z 2
#define EVEN(x) (((x) & 1) == 0)
#define MAX_BAND 10000
struct vert_struct {
VRDATA x, y, z; /* point coordinates */
};
int ids[MAX1];
int norms[MAX1];
int *vert_norms;
int *vert_texture;