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.13 by greg, Tue Feb 25 02:47:23 2003 UTC vs.
Revision 2.14 by greg, Tue Mar 4 19:02:22 2003 UTC

# Line 41 | Line 41 | typedef struct ray {
41          OBJECT  *clipset;       /* set of objects currently clipped */
42          OBJECT  *newcset;       /* next clipset, used for transmission */
43          void    (*revf)();      /* evaluation function for this ray */
44 +        void    (*hitf)();      /* custom hit test for this traversal */
45          OBJECT  robj;           /* intersected object number */
46          OBJREC  *ro;            /* intersected object (one with material) */
47          double  rot;            /* distance to object */
# Line 183 | Line 184 | extern void    ray_pclose();
184   extern int      rayorigin();
185   extern void     rayclear();
186   extern void     raytrace();
187 + extern void     rayhit();
188   extern void     raycont();
189   extern void     raytrans();
190   extern int      rayshade();
# Line 235 | Line 237 | extern void    ray_pclose(int nsub);
237   extern int      rayorigin(RAY *r, RAY *ro, int rt, double rw);
238   extern void     rayclear(RAY *r);
239   extern void     raytrace(RAY *r);
240 + extern void     rayhit(OBJECT *oset, RAY *r);
241   extern void     raycont(RAY *r);
242   extern void     raytrans(RAY *r);
243   extern int      rayshade(RAY *r, int mod);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines