45 |
|
typedef struct { |
46 |
|
short w; /* wall number */ |
47 |
|
short i[2]; /* index on wall grid */ |
48 |
< |
} BCOORD[2]; /* beam grid coordinates */ |
48 |
> |
} GCOORD; /* grid coordinates (two for beam) */ |
49 |
|
|
50 |
|
typedef struct { |
51 |
|
unsigned int4 nrd; /* number of beam rays bundled on disk */ |
57 |
|
unsigned long tick; /* clock tick for LRU replacement */ |
58 |
|
} BEAM; /* followed by nrm RAYVAL's */ |
59 |
|
|
60 |
< |
#define hdbray(bp) (RAYVAL *)((bp)+1) |
60 |
> |
#define hdbray(bp) ((RAYVAL *)((bp)+1)) |
61 |
|
#define hdbsiz(nr) (sizeof(BEAM)+(nr)*sizeof(RAYVAL)) |
62 |
|
|
63 |
|
typedef struct { |