ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/holo.h
(Generate patch)

Comparing ray/src/hd/holo.h (file contents):
Revision 3.8 by gregl, Tue Dec 16 15:01:25 1997 UTC vs.
Revision 3.9 by gregl, Thu Dec 18 14:45:59 1997 UTC

# Line 82 | Line 82 | typedef struct holo {
82          BEAMI   bi[1];          /* beam index (extends struct) */
83   } HOLO;                 /* holodeck section */
84  
85 + typedef struct {
86 +        HOLO    *h;             /* pointer to holodeck */
87 +        int     b;              /* beam index */
88 + } HDBEAMI;              /* holodeck beam index */
89 +
90   #define nbeams(hp)      (2*((hp)->wi[5]-1))
91   #define biglob(hp)      ((hp)->bi)
92   #define blglob(hp)      (*(hp)->bl)
# Line 94 | Line 99 | typedef struct holo {
99   extern HOLO     *hdinit(), *hdalloc();
100   extern BEAM     *hdgetbeam();
101   extern RAYVAL   *hdnewrays();
102 < extern long     hdmemuse(), hdfiluse(), hdfilen();
102 > extern unsigned hdmemuse();
103 > extern long     hdfiluse(), hdfilen();
104   extern double   hdray(), hdinter();
105   extern unsigned hdcode();
106  
107 < extern int      hdcachesize;            /* target cache size (bytes) */
107 > extern unsigned hdcachesize;            /* target cache size (bytes) */
108   extern unsigned long    hdclock;        /* holodeck system clock */
109   extern HOLO     *hdlist[HDMAX+1];       /* holodeck pointers (NULL term.) */
110  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines