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 1.4 by greg, Sat Dec 15 16:41:44 1990 UTC vs.
Revision 1.6 by greg, Thu Jun 20 13:29:31 1991 UTC

# Line 37 | Line 37 | typedef struct ray {
37          int  rsrc;              /* source we're aiming for */
38          OBJECT  *clipset;       /* set of objects currently clipped */
39          OBJECT  *newcset;       /* next clipset, used for transmission */
40 +        int  (*revf)();         /* evaluation function for this ray */
41          OBJREC  *ro;            /* intersected object */
42          double  rot;            /* distance to object */
43          FVECT  rop;             /* intersection point */
# Line 49 | Line 50 | typedef struct ray {
50          double  rt;             /* returned effective ray length */
51   }  RAY;
52  
53 + extern int  raytrace();
54 +
55   extern double  raynormal();
56 +
57 + extern int  dimlist[];          /* dimension list for distribution */
58 + extern int  ndims;              /* number of dimensions so far */
59 + extern int  samplendx;          /* index for this sample */
60 +
61 + #define  MAXDIM         16      /* maximum number of dimensions */
62 +
63 + #define  rayvalue(r)    (*(r)->revf)(r)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines