bugfixes and speedups
[swftools.git] / lib / gfxpoly / poly.h
index 5d50209..8efee2e 100644 (file)
@@ -7,7 +7,10 @@
 
 //#define DEBUG
 #define CHECKS
+
+/* features */
 #define SPLAY
+#define DONT_REMEMBER_CROSSINGS
 
 typedef enum {DIR_UP, DIR_DOWN, DIR_UNKNOWN} segment_dir_t;
 typedef enum {EVENT_CROSS, EVENT_END, EVENT_START, EVENT_HORIZONTAL} eventtype_t;
@@ -52,7 +55,6 @@ typedef struct _gfxpolystroke {
 } gfxpolystroke_t;
 typedef struct _gfxpoly {
     double gridsize;
-    int num_strokes;
     gfxpolystroke_t*strokes;
 } gfxpoly_t;