40#ifdef NO_BRANCH_CONDITIONS
45#define VertEq(u,v) (((u)->s == (v)->s) & ((u)->t == (v)->t))
46#define VertLeq(u,v) (((u)->s < (v)->s) | \
47 ((u)->s == (v)->s & (u)->t <= (v)->t))
49#define VertEq(u,v) ((u)->s == (v)->s && (u)->t == (v)->t)
50#define VertLeq(u,v) (((u)->s < (v)->s) || \
51 ((u)->s == (v)->s && (u)->t <= (v)->t))
54#define EdgeEval(u,v,w) __gl_edgeEval(u,v,w)
55#define EdgeSign(u,v,w) __gl_edgeSign(u,v,w)
59#define TransLeq(u,v) (((u)->t < (v)->t) || \
60 ((u)->t == (v)->t && (u)->s <= (v)->s))
61#define TransEval(u,v,w) __gl_transEval(u,v,w)
62#define TransSign(u,v,w) __gl_transSign(u,v,w)
65#define EdgeGoesLeft(e) VertLeq( (e)->Dst, (e)->Org )
66#define EdgeGoesRight(e) VertLeq( (e)->Org, (e)->Dst )
69#define ABS(x) ((x) < 0 ? -(x) : (x))
70#define VertL1dist(u,v) (ABS(u->s - v->s) + ABS(u->t - v->t))
72#define VertCCW(u,v,w) __gl_vertCCW(u,v,w)
int __gl_vertCCW(GLUvertex *u, GLUvertex *v, GLUvertex *w)
GLdouble __gl_edgeSign(GLUvertex *u, GLUvertex *v, GLUvertex *w)
GLdouble __gl_transEval(GLUvertex *u, GLUvertex *v, GLUvertex *w)
GLdouble __gl_edgeEval(GLUvertex *u, GLUvertex *v, GLUvertex *w)
void __gl_edgeIntersect(GLUvertex *o1, GLUvertex *d1, GLUvertex *o2, GLUvertex *d2, GLUvertex *v)
int __gl_vertLeq(GLUvertex *u, GLUvertex *v)
GLdouble __gl_transSign(GLUvertex *u, GLUvertex *v, GLUvertex *w)
GLubyte GLubyte GLubyte GLubyte w
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 * u