#include "gluos.h"
#include "mesh.h"
#include "tess.h"
#include "normal.h"
#include <math.h>
#include <assert.h>
Macros | |
#define | ABS(x) ((x) < 0 ? -(x) : (x)) |
#define | Dot(u, v) (u[0]*v[0] + u[1]*v[1] + u[2]*v[2]) |
#define | FALSE 0 |
#define | S_UNIT_X 1.0 |
#define | S_UNIT_Y 0.0 |
#define | TRUE 1 |
Functions | |
void | __gl_projectPolygon (GLUtesselator *tess) |
static void | CheckOrientation (GLUtesselator *tess) |
static void | ComputeNormal (GLUtesselator *tess, GLdouble norm[3]) |
static int | LongAxis (GLdouble v[3]) |
void __gl_projectPolygon | ( | GLUtesselator * | tess | ) |
|
static |
|
static |