1 |
< |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
1 |
> |
/* Copyright (c) 1999 Silicon Graphics, Inc. */ |
2 |
|
|
3 |
|
/* SCCSid "$SunId$ SGI" */ |
4 |
|
|
75 |
|
short dirty; /* number of dirty segments */ |
76 |
|
double tlin; /* linear range for depth encoding */ |
77 |
|
FVECT wg[3]; /* wall grid vectors (derived) */ |
78 |
– |
double wo[6]; /* wall grid offsets (derived) */ |
78 |
|
int wi[6]; /* wall super-indices (derived) */ |
79 |
|
char *priv; /* pointer to private client data */ |
80 |
|
BEAM **bl; /* beam pointers (memory cache) */ |
104 |
|
extern unsigned hdcode(); |
105 |
|
extern int hdfilord(); |
106 |
|
|
107 |
+ |
#define FF_NEVER 0 /* never free fragments */ |
108 |
+ |
#define FF_WRITE 01 /* free fragment on write */ |
109 |
+ |
#define FF_ALLOC 02 /* free fragment on ray alloc */ |
110 |
+ |
#define FF_READ 04 /* free fragment on read */ |
111 |
+ |
#define FF_KILL 010 /* free fragment on beam kill */ |
112 |
+ |
|
113 |
+ |
extern int hdfragflags; /* tells when to free fragments */ |
114 |
|
extern unsigned hdcachesize; /* target cache size (bytes) */ |
115 |
|
extern unsigned long hdclock; /* holodeck system clock */ |
116 |
|
extern HOLO *hdlist[HDMAX+1]; /* holodeck pointers (NULL term.) */ |