Former-commit-id:7fa9dbd5fb
[formerly4bfbdad17d
] [formerly9f8cb727a5
] [formerly8485b90ff8
[formerly9f8cb727a5
[formerly bf53d06834caa780226121334ac1bcf0534c3f16]]] Former-commit-id:8485b90ff8
Former-commit-id: 73930fb29d0c1e91204e76e6ebfdbe757414f319 [formerlya28d70b5c5
] Former-commit-id:33a67cdd82
37 lines
1.2 KiB
C
37 lines
1.2 KiB
C
/************************************************************************
|
|
* SCNFLL.H *
|
|
* *
|
|
* This header file declares the variables used in scan converting *
|
|
* filled polygons. *
|
|
* *
|
|
** *
|
|
* Log: *
|
|
* E. Wehner/EAI 6/96 *
|
|
***********************************************************************/
|
|
|
|
#define MAX_X 1728
|
|
#define MAX_Y 2400
|
|
#define MAX_YSZ 5000
|
|
#define MaxScreenY 2500 /* reset once integrated to Ysize */
|
|
#define MAX_POINTS 100 /* number of points allowed */
|
|
#define MAX_3D_POLYVERTS 4 /* man number verts in 3d figure */
|
|
#define MAX_POLYS_3D 10 /* max number of polygons in the 3d figure */
|
|
|
|
|
|
/* two dimensional point record. */
|
|
typedef struct dcpt2
|
|
{
|
|
int x;
|
|
int y;
|
|
}dcPt2, dcPts2[MAX_POINTS];
|
|
|
|
|
|
/* edge table record */
|
|
typedef struct edgerec
|
|
{
|
|
int yUpper;
|
|
float xIntersect;
|
|
float dxPerScan;
|
|
struct edgerec * next;
|
|
} edgeRec, *edgePtr;
|
|
|