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.15 by greg, Tue Mar 11 17:08:55 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 48 | Line 49 | typedef struct ray {
49          FVECT   ron;            /* intersection surface normal */
50          double  rod;            /* -DOT(rdir, ron) */
51          FULLXF  *rox;           /* object transformation */
52 +        FLOAT   uv[2];          /* local coordinates */
53          FVECT   pert;           /* surface normal perturbation */
54          COLOR   pcol;           /* pattern color */
55          COLOR   rcol;           /* returned ray value */
# Line 183 | Line 185 | extern void    ray_pclose();
185   extern int      rayorigin();
186   extern void     rayclear();
187   extern void     raytrace();
188 + extern void     rayhit();
189   extern void     raycont();
190   extern void     raytrans();
191   extern int      rayshade();
# Line 235 | Line 238 | extern void    ray_pclose(int nsub);
238   extern int      rayorigin(RAY *r, RAY *ro, int rt, double rw);
239   extern void     rayclear(RAY *r);
240   extern void     raytrace(RAY *r);
241 + extern void     rayhit(OBJECT *oset, RAY *r);
242   extern void     raycont(RAY *r);
243   extern void     raytrans(RAY *r);
244   extern int      rayshade(RAY *r, int mod);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines