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

Comparing ray/src/util/glare.h (file contents):
Revision 1.7 by greg, Tue Mar 19 17:31:35 1991 UTC vs.
Revision 1.10 by greg, Thu Mar 21 17:11:48 1991 UTC

# Line 6 | Line 6
6   * Common data structures for glare source finding routines
7   */
8  
9 + #define DEBUG 1
10 +
11   #include "standard.h"
12   #include "view.h"
13   #include "color.h"
# Line 18 | Line 20
20  
21   #define SEPS            2               /* sources this close ==> contig. */
22  
23 + #define SAMIN           .005            /* minimum solid angle for source */
24 + #define MAXBUDDY        (4.*sqrt(SAMIN/PI))     /* max separation for pairing */
25 +
26 + #define TOOSMALL(s)     ((s)->brt*(s)->dom < threshold*SAMIN)
27 +
28   extern VIEW     ourview;                /* our view */
29   extern VIEW     pictview;               /* picture view */
30   extern VIEW     leftview, rightview;    /* leftmost and rightmost views */
# Line 43 | Line 50 | extern struct illum {
50          float   lcos, lsin;     /* cosine and sine to left view */
51          float   rcos, rsin;     /* cosine and sine to right view */
52          double  sum;            /* sum of indirect luminances */
53 <        int     n;              /* number of values in sum */
53 >        double  n;              /* number of values in sum */
54   } *indirect;            /* array of indirect illuminances */
55  
56   struct srcspan {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines