ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/bsdfrep.h
(Generate patch)

Comparing ray/src/cv/bsdfrep.h (file contents):
Revision 2.14 by greg, Sat Mar 8 06:37:59 2014 UTC vs.
Revision 2.15 by greg, Sat Mar 8 18:16:49 2014 UTC

# Line 16 | Line 16
16   #define ANG2R(r)        (int)((r)*((1<<16)/M_PI))
17   #define R2ANG(c)        (((c)+.5)*(M_PI/(1<<16)))
18  
19 < typedef struct {
20 <        float           vsum;           /* DSF sum */
21 <        unsigned int    nval;           /* number of values in sum */
19 > typedef union {
20 >        struct {
21 >                float           v;              /* DSF sum */
22 >                unsigned int    n;              /* number of values in sum */
23 >        }       sum;                    /* sum for averaging */
24 >        float   val[2];                 /* comparison values */
25   } GRIDVAL;                      /* grid value */
26  
27   typedef struct {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines