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.8 by greg, Tue Feb 25 02:47:22 2003 UTC vs.
Revision 2.9 by schorsch, Sat Jun 7 00:54:58 2003 UTC

# Line 4 | Line 4
4   *
5   * Include after ray.h
6   */
7 + #ifndef _RAD_AMBIENT_H_
8 + #define _RAD_AMBIENT_H_
9 + #ifdef __cplusplus
10 + extern "C" {
11 + #endif
12  
13 +
14   #include "copyright.h"
15  
16   /*
# Line 52 | Line 58 | extern double  minarad;                /* minimum ambient radius */
58   #define  AMBMAGIC       557     /* magic number for ambient value files */
59   #define  AMBFMT         "Radiance_ambval"       /* format id string */
60  
55 #ifdef NOPROTO
56
57 extern int      divsample();
58 extern double   doambient();
59 extern void     inithemi();
60 extern void     comperrs();
61 extern void     posgradient();
62 extern void     dirgradient();
63 extern void     setambres();
64 extern void     setambacc();
65 extern void     setambient();
66 extern void     ambdone();
67 extern void     ambnotify();
68 extern void     ambient();
69 extern double   sumambient();
70 extern double   makeambient();
71 extern void     extambient();
72 extern int      ambsync();
73 extern void     putambmagic();
74 extern int      hasambmagic();
75 extern int      writambval();
76 extern int      ambvalOK();
77 extern int      readambval();
78 extern void     lookamb();
79 extern void     writamb();
80
81 #else
61                                          /* defined in ambcomp.c */
62   extern int      divsample(AMBSAMP *dp, AMBHEMI *h, RAY *r);
63   extern double   doambient(COLOR acol, RAY *r, double wt, FVECT pg, FVECT dg);
# Line 108 | Line 87 | extern int     readambval(AMBVAL *av, FILE *fp);
87   extern void     lookamb(FILE *fp);
88   extern void     writamb(FILE *fp);
89  
90 +
91 + #ifdef __cplusplus
92 + }
93   #endif
94 + #endif /* _RAD_AMBIENT_H_ */
95 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines