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.1 by gregl, Fri Oct 31 10:23:29 1997 UTC vs.
Revision 3.4 by gregl, Tue Nov 11 15:13:33 1997 UTC

# Line 45 | Line 45 | typedef struct {
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 */
# Line 57 | Line 57 | typedef struct {
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 {
# Line 90 | Line 90 | typedef struct holo {
90  
91   #define hdflush(hp)     (hdfreebeam(hp,0) && hdsync(hp))
92  
93 < extern HOLO     *hdinit();
93 > extern HOLO     *hdinit(), *hdalloc();
94   extern BEAM     *hdgetbeam();
95   extern RAYVAL   *hdnewrays();
96   extern long     hdmemuse(), hdfiluse();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines