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.3 by greg, Tue May 25 10:30:14 1993 UTC vs.
Revision 2.5 by greg, Thu Nov 2 17:38:07 1995 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1992 Regents of the University of California */
1 > /* Copyright (c) 1995 Regents of the University of California */
2  
3   /* SCCSid "$SunId$ LBL" */
4  
# Line 35 | Line 35 | typedef struct ray {
35          struct ray  *parent;    /* ray this originated from */
36          FVECT  rorg;            /* origin of ray */
37          FVECT  rdir;            /* normalized direction of ray */
38 +        double  rmax;           /* maximum distance (aft clipping plane) */
39          int  rsrc;              /* source we're aiming for */
40          OBJECT  *clipset;       /* set of objects currently clipped */
41          OBJECT  *newcset;       /* next clipset, used for transmission */
# Line 54 | Line 55 | typedef struct ray {
55   extern int  raytrace();
56  
57   extern double  raynormal();
58 +
59 + extern double  raydistance();
60  
61   extern int  dimlist[];          /* dimension list for distribution */
62   extern int  ndims;              /* number of dimensions so far */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines