73 |
|
int fd; /* file descriptor */ |
74 |
|
short dirty; /* beam index needs update to file */ |
75 |
|
double tlin; /* linear range for depth encoding */ |
76 |
< |
FVECT wn[3]; /* wall normals (derived) */ |
77 |
< |
double wg[3]; /* wall grid multipliers (derived) */ |
78 |
< |
double wo[6]; /* wall offsets (derived) */ |
76 |
> |
FVECT wg[3]; /* wall grid vectors (derived) */ |
77 |
> |
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) */ |
108 |
|
extern HOLO *hdlist[HDMAX+1]; /* holodeck pointers (NULL term.) */ |
109 |
|
|
110 |
|
extern float hd_depthmap[]; /* depth conversion map */ |
111 |
+ |
|
112 |
+ |
extern int hdwg0[6]; /* wall grid 0 index */ |
113 |
+ |
extern int hdwg1[6]; /* wall grid 1 index */ |
114 |
|
|
115 |
|
#define hddepth(hp,dc) ( (dc) >= DCINF ? FHUGE : \ |
116 |
|
(hp)->tlin * ( (dc) >= DCLIN ? \ |