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.29 by greg, Fri Sep 23 19:04:53 2005 UTC vs.
Revision 2.30 by greg, Sat Dec 12 00:03:42 2009 UTC

# Line 14 | Line 14
14   extern "C" {
15   #endif
16  
17 + #ifndef RNUMBER
18 + #define RNUMBER         unsigned long   /* ray counter (>= sizeof pointer) */
19 + #endif
20 +
21   #define  MAXDIM         32      /* maximum number of dimensions */
22  
23                                  /* ray type flags */
# Line 50 | Line 54 | typedef struct ray {
54          OBJREC  *ro;            /* intersected object (one with material) */
55          FULLXF  *rox;           /* object transformation */
56          int     *slights;       /* list of lights to test for scattering */
57 <        unsigned long  rno;     /* unique ray number */
57 >        RNUMBER rno;            /* unique ray number */
58          int     rlvl;           /* number of reflections for this ray */
59          int     rsrc;           /* source we're aiming for */
60          float   rweight;        /* cumulative weight (for termination) */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines