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

Comparing ray/src/util/glarendx.c (file contents):
Revision 2.4 by greg, Thu Mar 24 11:06:59 1994 UTC vs.
Revision 2.7 by greg, Sat Feb 22 02:07:30 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1991 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   * Compute Glare Index given by program name or -t option:
6   *
# Line 25 | Line 22 | static char SCCSid[] = "$SunId$ LBL";
22   #include "standard.h"
23   #include "view.h"
24  
28 extern double   erfc();
25  
26   double  posindex();
27  
# Line 128 | Line 124 | userr:
124   }
125  
126  
127 + int
128   headline(s)                     /* get line from header */
129   char    *s;
130   {
# Line 141 | Line 138 | char   *s;
138                  formatval(fmt, s);
139                  wrongformat = strcmp(fmt, "ascii");
140          }
141 +        return(0);
142   }
143  
144  
# Line 407 | Line 405 | struct glare_dir       *gd;
405   }
406  
407  
410 extern double   erf(), erfc();
411
408   #ifndef M_SQRT2
409   #define M_SQRT2 1.41421356237309504880
410   #endif
# Line 420 | Line 416 | double
416   guth_vcp(gd)            /* compute Guth visual comfort probability */
417   struct glare_dir        *gd;
418   {
419 +        extern double   erfc();
420          double  dgr;
421  
422          dgr = guth_dgr(gd);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines