git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small speed improvements
[swftools.git]
/
lib
/
gfxpoly
/
poly.h
diff --git
a/lib/gfxpoly/poly.h
b/lib/gfxpoly/poly.h
index
6802622
..
dfada99
100644
(file)
--- 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;
point_t a;
point_t b;
fillstyle_t*style;
+#ifdef DEBUG
int tmp;
int tmp;
+#endif
struct _edge *next;
} edge_t;
struct _edge *next;
} edge_t;
@@
-43,6
+45,8
@@
typedef struct _windrule
fillstyle_t* (*diff)(windstate_t*left, windstate_t*right);
} windrule_t;
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;
typedef struct _segment {
point_t a;
point_t b;