#include "gluos.h"
#include <assert.h>
#include <stddef.h>
#include "mesh.h"
#include "tess.h"
#include "render.h"
Macros | |
#define | AddToTrail(f, t) ((f)->trail = (t), (t) = (f), (f)->marked = TRUE) |
#define | FALSE 0 |
#define | FreeTrail(t) |
#define | IsEven(n) (((n) & 1) == 0) |
#define | Marked(f) (! (f)->inside || (f)->marked) |
#define | SIGN_INCONSISTENT 2 |
#define | TRUE 1 |
Functions | |
void | __gl_renderBoundary (GLUtesselator *tess, GLUmesh *mesh) |
GLboolean | __gl_renderCache (GLUtesselator *tess) |
void | __gl_renderMesh (GLUtesselator *tess, GLUmesh *mesh) |
static int | ComputeNormal (GLUtesselator *tess, GLdouble norm[3], int check) |
static struct FaceCount | MaximumFan (GLUhalfEdge *eOrig) |
static struct FaceCount | MaximumStrip (GLUhalfEdge *eOrig) |
static void | RenderFan (GLUtesselator *tess, GLUhalfEdge *eStart, long size) |
static void | RenderLonelyTriangles (GLUtesselator *tess, GLUface *head) |
static void | RenderMaximumFaceGroup (GLUtesselator *tess, GLUface *fOrig) |
static void | RenderStrip (GLUtesselator *tess, GLUhalfEdge *eStart, long size) |
static void | RenderTriangle (GLUtesselator *tess, GLUhalfEdge *eStart, long size) |
#define FreeTrail | ( | t | ) |
void __gl_renderBoundary | ( | GLUtesselator * | tess, |
GLUmesh * | mesh | ||
) |
GLboolean __gl_renderCache | ( | GLUtesselator * | tess | ) |
void __gl_renderMesh | ( | GLUtesselator * | tess, |
GLUmesh * | mesh | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |