Go to the source code of this file.
Defines | |
#define | MODULE_GEO |
#define | TOL 1.e-4; |
#define | RTD 0.159154943 |
#define | UpdateNoGlassBuffer(f, i, d, id, O) |
#define | UpdateGlassBuffer(f, i, d, id, O, mattr) |
#define | MAPDELTA 0.33333 |
Functions | |
short | ClipObject (long O) |
long | IShadow (long scanline, long v1x, long v1y, long v2x, long v2y, long *xi) |
void | ShadowFillLine (long scanline, long vx[3], long vy[3], long *leftedge, long *rightedge) |
void | ShadowGround (void) |
double | hitpoint (vector n, vector x, vector y, vector pb, vector pf, double *a, double *b) |
BOOL | hitpoint2 (vector n, vector x, vector y, vector pb, vector pf, double *a, double *b) |
double | hitcylinder (vector n, vector x, vector y, vector p0, vector p, double *a, double *b) |
double | hitsphere (vector y, vector dx, vector dy, vector p0, vector p, double *a, double *b) |
void | UpdateGlassScanBuffers (double xl, double xr, long id, long O, face *f, double d2, long *Zglass[], long *ZglassO[], double *Zglassd[], long *Zbuffer, long *Zobject, double *Zdepth, double *Zposn) |
void | UpdateNoGlassScanBuffers (double xl, double xr, long id, long O, face *f, double d2, long *Zglass[], long *ZglassO[], double *Zglassd[], long *Zbuffer, long *Zobject, double *Zdepth, double *Zposn) |
long | Intersect (long scanline, vertex *v1, vertex *v2, double *xi) |
long | Active (long scanline, vertex *v, face *f, double *leftedge, double *rightedge) |
void | SetPerspectiveView (long StereoLeft) |
void | ApplyViewingTransformToPoint (vector vin, vector vout) |
void | BendNormal (vector nin, vector dn, vector nout) |
void | MakeObjectTransformation (double fi, double theta, double alpha, short im, double ima, double sx, double sy, double sz, vector Centre, vector Position, double trpos[4][4], double trset[4][4], double trinv[4][4]) |
void | TransformMappingRectangle (double trpos[4][4], vector P, vector X, vector Y, vector p, vector x, vector y, vector n) |
void | R_rotz (double tr[4][4], double ang) |
void | R_rotx (double tr[4][4], double ang) |
void | R_roty (double tr[4][4], double ang) |
void | R_tram (double t[4][4], double dx, double dy, double dz) |
void | R_scal (double t[4][4], double sx, double sy, double sz) |
void | R_m4by4 (double t1[4][4], double t2[4][4], double tr[4][4]) |
void | R_c4to4 (double tin[4][4], double tout[4][4]) |
void | R_null_transform (double t[4][4]) |
void | R_m4by1 (double t4[4][4], double x, double y, double z, double *xx, double *yy, double *zz) |
void | R_m3by1 (double t4[4][4], double x, double y, double z, double *xx, double *yy, double *zz) |
void | R_reflect (double t[4][4], vector p, vector n) |
void | veccopy (vector v1, vector r) |
void | vecsub (vector v1, vector v2, vector r) |
void | vecsum (vector v1, vector v2, vector r) |
void | vecscale (double s, vector v, vector r) |
short | normalize (vector v) |
double | R_length (vector v) |
void | cross (vector v1, vector v2, vector r) |
double | dot (vector v1, vector v2) |
void | AssignMappingCoordinatesToVertices (object *O) |
#define MODULE_GEO |
Definition at line 4 of file GEOMETRY.C.
#define TOL 1.e-4; |
Definition at line 322 of file GEOMETRY.C.
#define RTD 0.159154943 |
Definition at line 398 of file GEOMETRY.C.
#define UpdateNoGlassBuffer | ( | f, | |||
i, | |||||
d, | |||||
id, | |||||
O | ) |
Value:
{ \ Zdepth[i]=d; Zbuffer[i]=id; Zobject[i]=O; \ } \
Definition at line 450 of file GEOMETRY.C.
Referenced by UpdateNoGlassScanBuffers().
#define UpdateGlassBuffer | ( | f, | |||
i, | |||||
d, | |||||
id, | |||||
O, | |||||
mattr | ) |
#define MAPDELTA 0.33333 |
Definition at line 1260 of file GEOMETRY.C.