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.3 by gregl, Mon Nov 10 18:04:05 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 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines