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

Comparing src/util/glare.h (file contents):
Revision 2.4 by schorsch, Fri Jun 27 11:32:12 2003 UTC vs.
Revision 2.8 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 4 | Line 4
4   */
5   #ifndef _RAD_GLARE_H_
6   #define _RAD_GLARE_H_
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
7  
11
8   #include "standard.h"
9 + #include "paths.h"
10   #include "view.h"
11   #include "color.h"
12   #include "setscan.h"
13  
14 + #ifdef __cplusplus
15 + extern "C" {
16 + #endif
17 +
18   #define GLAREBR         7.0             /* glare source is this * avg. lum. */
19  
20   #define SAMPDENS        75              /* default samples per unit in image */
# Line 73 | Line 74 | extern struct source {
74          struct source   *next;  /* next source in list */
75   } *donelist;                    /* finished sources */
76  
76 extern double   getviewpix(int vh, int vv);
77 extern double   pixsize(int x, int y);
77  
78   extern long     npixinvw;       /* number of samples in view */
79   extern long     npixmiss;       /* number of samples missing */
80  
81 <
81 >        /* defined in findglare.c */
82 > extern void memerr(char *s);
83 > extern int compdir(FVECT vd, int x, int y);
84 > extern double pixsize(int x, int y);
85 >        /* defined in glaresrc.c */
86 > extern void comp_thresh(void);
87 > extern void analyze(void);
88 > extern void absorb_specks(void);
89 >        /* defined in glareval.c */
90 > extern void open_pict(char *fn);
91 > extern void fork_rtrace(char *av[]);
92 > extern void close_pict(void);
93 > extern void done_rtrace(void);
94 > extern void getviewspan(int vv, float *vb);
95 > extern double getviewpix(int vh, int vv);
96  
97   #ifdef __cplusplus
98   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines