Import Geant4 10.7.0 source tree
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#ifndef tools_zb_line
|
||||
#define tools_zb_line
|
||||
|
||||
|
||||
/* from X/poly.h */
|
||||
|
||||
/*
|
||||
@@ -140,7 +140,7 @@ typedef struct {
|
||||
* the polygon by incrementing the y coordinate. We
|
||||
* keep a list of edges which the current scanline crosses,
|
||||
* sorted by x. This list is called the Active Edge Table (AET)
|
||||
* As we change the y-coordinate, we update each entry in
|
||||
* As we change the y-coordinate, we update each entry in
|
||||
* in the active edge table to reflect the edges new xcoord.
|
||||
* This list must be sorted at each scanline in case
|
||||
* two edges intersect.
|
||||
@@ -167,7 +167,7 @@ typedef struct {
|
||||
* for the winding number rule
|
||||
*/
|
||||
//#define CLOCKWISE 1
|
||||
//#define COUNTERCLOCKWISE -1
|
||||
//#define COUNTERCLOCKWISE -1
|
||||
|
||||
typedef struct _EdgeTableEntry {
|
||||
int ymax; /* ycoord at which we exit this edge. */
|
||||
@@ -256,6 +256,6 @@ typedef struct _ScanLineListBlock {
|
||||
pAET = pAET->next; \
|
||||
} \
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user