X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxpoly%2Fpoly.h;h=dfada99fbe21268de2640cc64c364dde72658ae7;hp=68026228cfc4765cd90c0fa95750f02c7ef5b113;hb=ba166d59c4c6672c8cb65c881193bb104c629bf7;hpb=33e9461da6b886671749d6cbabd80b355ab1f6d9 diff --git a/lib/gfxpoly/poly.h b/lib/gfxpoly/poly.h index 6802622..dfada99 100644 --- a/lib/gfxpoly/poly.h +++ b/lib/gfxpoly/poly.h @@ -25,7 +25,9 @@ typedef struct _edge { point_t a; point_t b; fillstyle_t*style; +#ifdef DEBUG int tmp; +#endif struct _edge *next; } edge_t; @@ -43,6 +45,8 @@ typedef struct _windrule fillstyle_t* (*diff)(windstate_t*left, windstate_t*right); } windrule_t; +#define SEGNR(s) ((s)?(s)->nr:-1) + typedef struct _segment { point_t a; point_t b;