
354 9. The complete package: OpenFX
typedef struct THD_tag {
/* Pointer to the base memory, other variables offset from here*/
UCHAR *ram;
/* Array: identity of face visible in each pixel on the scanline */
long *Zbuffer,
/* Array: identifying face on previous line. Used in anti-aliasing */
*Xbuffer,
/* Array: identity of object visible in each pixel on the scanline */
*Zobject,
/* Array: face on previous line */
*Xobject,
/* Identity of face in glass layer */
*Zglass[NGLASS],
/* Identity of object in, up to NGLASS, glass layers */
*ZglassO[NGLASS];
/* Depth buffer value in pixels on scanline */
double *Zdepth,
/* fractional pixel offset in pixels on scanline ...