1
0
Fork 0
flightgear/Stripe_u/global.h

38 lines
978 B
C
Raw Normal View History

1998-04-09 01:58:04 +00:00
/********************************************************************/
/* 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;