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

Comparing ray/src/rt/ray.h (file contents):
Revision 2.7 by greg, Wed Mar 27 12:17:10 1996 UTC vs.
Revision 2.10 by greg, Fri Mar 7 16:42:54 1997 UTC

# Line 16 | Line 16
16  
17   #define  MAXDIM         32      /* maximum number of dimensions */
18  
19 #define  MAXSLIST       32      /* maximum sources to check */
20
19                                  /* ray type flags */
20   #define  PRIMARY        01              /* original ray */
21   #define  SHADOW         02              /* ray to light source */
# Line 44 | Line 42 | typedef struct ray {
42          OBJECT  *clipset;       /* set of objects currently clipped */
43          OBJECT  *newcset;       /* next clipset, used for transmission */
44          int  (*revf)();         /* evaluation function for this ray */
45 <        OBJREC  *ro;            /* intersected object */
45 >        OBJECT  robj;           /* object number from octree */
46 >        OBJREC  *ro;            /* intersected object (for material) */
47          double  rot;            /* distance to object */
48          FVECT  rop;             /* intersection point */
49          FVECT  ron;             /* intersection surface normal */
# Line 55 | Line 54 | typedef struct ray {
54          COLOR  rcol;            /* returned ray value */
55          double  rt;             /* returned effective ray length */
56          COLOR  cext;            /* medium extinction coefficient */
57 <        float  albedo;          /* medium scattering albedo */
57 >        COLOR  albedo;          /* medium scattering albedo */
58          float  gecc;            /* scattering eccentricity coefficient */
59          int  *slights;          /* list of lights to test for scattering */
60   }  RAY;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines