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

Comparing ray/src/rt/ambient.h (file contents):
Revision 2.16 by greg, Fri Sep 23 19:04:53 2005 UTC vs.
Revision 2.17 by greg, Tue Oct 5 18:05:23 2010 UTC

# Line 37 | Line 37 | typedef struct {
37          COLOR  v;               /* division sum (partial) */
38          float  r;               /* 1/distance sum */
39          float  k;               /* variance for this division */
40 <        int  n;                 /* number of subsamples */
41 <        short  t, p;            /* theta, phi indices */
40 >        int    n;               /* number of subsamples */
41 >        unsigned short  t, p;   /* theta, phi indices */
42   }  AMBSAMP;             /* ambient sample division */
43  
44   typedef struct {
45          FVECT  ux, uy, uz;      /* x, y and z axis directions */
46          COLOR  acoef;           /* division contribution coefficient */
47          int    ns;              /* number of super-samples */
48 <        short  nt, np;          /* number of theta and phi directions */
48 >        int    nt, np;          /* number of theta and phi directions */
49   }  AMBHEMI;             /* ambient sample hemisphere */
50  
51   extern double  maxarad;         /* maximum ambient radius */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines