165 }
else if( gtupper->
t->
param[0] > gtlower->
t->
param[0] ) {
198 }
else if( gtupper->
t->
param[0] > gtlower->
t->
param[0] ) {
282 if(
equal( 0, 1 ) ) {
285 for(
int i = 2;
i < ilast;
i++ ) {
289 copy( ilast, ilast-1 );
290 }
else if(
equal( ilast-2, ilast-1) ) {
293 for(
int i = ilast-3;
i >= 0;
i-- ) {
302 for(
int i = 1;
i < ilast;
i++ ) {
306 copy( ilast, ilast-1 );
312 for(
int i = 2;
i < ilast;
i++ ) {
316 copy( ilast-1, ilast );
317 }
else if(
equal( ilast-1, ilast-2) ) {
320 for(
int i = ilast-3;
i >= 0;
i-- ) {
329 for(
int i = 1;
i < ilast;
i++ ) {
333 copy( ilast-1, ilast );
346 if(
equal( 0, 1 ) ) {
349 for(
int i = 2;
i < ilast;
i++ ) {
353 copy( ilast, ilast-1 );
354 }
else if(
equal( ilast-2, ilast-1) ) {
357 for(
int i = ilast-3;
i >= 0;
i-- ) {
366 for(
int i = 1;
i < ilast;
i++ ) {
370 copy( ilast, ilast-1 );
378 if( !
isCcw( ilast ) )
return;
383 if(
equal( ilast-1, ilast-2 ) ) {
386 for(
int i=ilast-3;
i>=
itop-1;
i-- ) {
394 for(
int i =
itop+1;
i < ilast;
i++ ) {
398 copy( ilast-1, ilast );
403 for(
int i=ilast-2;
i>=
itop-1;
i-- ) {
423 for(
int i = 2;
i < ilast;
i++ ) {
427 copy( ilast-1, ilast );
428 }
else if(
equal( ilast-1, ilast-2) ) {
431 for(
int i = ilast-3;
i >= 0;
i-- ) {
440 for(
int i = 1;
i < ilast;
i++ ) {
444 copy( ilast-1, ilast );
453 if( !
isCw( ilast ) )
return;
456 }
while( (
itop > 1) &&
isCw( ilast ) );
458 if(
equal( ilast-2, ilast-1) ) {
461 for(
int i=ilast-3;
i>=
itop-1;
i--) {
469 for(
int i=
itop+1;
i<ilast;
i++ ) {
473 copy( ilast, ilast-1 );
478 for(
int i=ilast-2;
i>=
itop-1;
i-- ) {
void tmeshvert(GridTrimVertex *)
void bgntmesh(const char *)
GridTrimVertex * nextupper(GridTrimVertex *)
GridTrimVertex * nextlower(GridTrimVertex *)
void finishUpper(GridTrimVertex *)
void push(GridTrimVertex *)
void finishLower(GridTrimVertex *)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLboolean GLboolean GLboolean b
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static Real area(Real A[2], Real B[2], Real C[2])
REAL det3(TrimVertex *a, TrimVertex *b, TrimVertex *c)
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList