#include "gluos.h"
#include "geom.h"
#include <assert.h>
Go to the source code of this file.
◆ AddWinding
#define AddWinding |
( |
|
eDst, |
|
|
|
eSrc |
|
) |
| |
Value: (eDst->winding += eSrc->winding, \
eDst->Sym->winding += eSrc->Sym->winding)
Definition at line 42 of file tessmono.c.
◆ MARKED_FOR_DELETION
#define MARKED_FOR_DELETION 0x7fffffff |
◆ __gl_meshDiscardExterior()
Definition at line 155 of file tessmono.c.
156{
158
159
161
165 }
166 }
167}
void __gl_meshZapFace(GLUface *fZap)
static unsigned __int64 next
Referenced by gluTessEndPolygon().
◆ __gl_meshSetWindingNumber()
Definition at line 179 of file tessmono.c.
181{
183
184 for(
e =
mesh->eHead.next;
e != &
mesh->eHead;
e = eNext ) {
186 if(
e->Rface->inside !=
e->Lface->inside ) {
187
188
190 } else {
191
192
193 if( ! keepOnlyBoundary ) {
195 } else {
197 }
198 }
199 }
200 return 1;
201}
int __gl_meshDelete(GLUhalfEdge *eDel)
Referenced by gluTessEndPolygon().
◆ __gl_meshTessellateInterior()
Definition at line 133 of file tessmono.c.
134{
136
137
139
143 }
144 }
145
146 return 1;
147}
int __gl_meshTessellateMonoRegion(GLUface *face)
Referenced by gluTessEndPolygon().
◆ __gl_meshTessellateMonoRegion()
int __gl_meshTessellateMonoRegion |
( |
GLUface * |
face | ) |
|
Definition at line 72 of file tessmono.c.
73{
75
76
77
78
79
80
83
85 ;
87 ;
89
90 while(
up->Lnext != lo ) {
92
93
94
95
99 if (tempHalfEdge ==
NULL)
return 0;
100 lo = tempHalfEdge->
Sym;
101 }
102 lo = lo->Lprev;
103 } else {
104
108 if (tempHalfEdge ==
NULL)
return 0;
109 up = tempHalfEdge->
Sym;
110 }
112 }
113 }
114
115
116
117
121 if (tempHalfEdge ==
NULL)
return 0;
122 lo = tempHalfEdge->
Sym;
123 }
124
125 return 1;
126}
GLUhalfEdge * __gl_meshConnect(GLUhalfEdge *eOrg, GLUhalfEdge *eDst)
#define EdgeSign(u, v, w)
GLenum GLuint GLint GLenum face
Referenced by __gl_meshTessellateInterior().