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.1 by greg, Mon Mar 18 12:15:39 1991 UTC vs.
Revision 1.3 by greg, Mon Mar 18 15:06:30 1991 UTC

# Line 27 | Line 27 | extern char    *progname;              /* global argv[0] */
27  
28   extern ANGLE    glarang[];              /* glare calculation angles */
29   extern int      nglarangs;
30 + extern double   maxtheta;               /* maximum glare angle (in radians) */
31   extern int      hsize;                  /* horizontal size */
32   extern int      hlim;                   /* horizontal limit of central view */
33  
34   #define nglardirs       (2*nglarangs+1)
34 #define maxtheta        ((PI/180.)*glarang[nglarangs-1])
35   #define vsize           SAMPDENS
36 < #define h_theta(h)      ((double)(h)/(double)SAMPDENS)
36 > #define h_theta(h)      ((double)(h)/-(double)SAMPDENS)
37  
38   extern struct illum {
39          float   theta;          /* glare direction */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines