1 #ifndef _POLY_H_ 2 #define _POLY_H_ 3 4 /* same value as in pur3d II :) */ 5 #define MAXPOINTS 32 6 7 typedef struct { 8 double x; 9 double y; 10 } point; 11 12 typedef struct { 13 int nb_points; 14 point points[MAXPOINTS]; 15 double color; 16 } poly; 17 18 #endif /* _POLY_H_ */ 19