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

Comparing ray/src/gen/atmos.h (file contents):
Revision 2.1 by greg, Fri Jul 5 18:04:36 2024 UTC vs.
Revision 2.3 by greg, Wed Oct 9 17:22:42 2024 UTC

# Line 1 | Line 1
1 + /* RCSid $Id$ */
2   #ifndef ATMOS_H
3   #define ATMOS_H
4  
# Line 9 | Line 10
10   #include "rtmath.h"
11   #include "sun.h"
12  
13 + #ifdef __cplusplus
14 + extern "C" {
15 + #endif
16 +
17   #define NSSAMP 20
18  
19   typedef struct {
# Line 84 | Line 89 | extern int compute_sundir(const int year, const int mo
89   extern int precompute(const int sorder, const DpPaths dppaths, const Atmosphere *atmos,
90                        int num_threads);
91  
92 < #endif // ATMOS_H
92 > extern DATARRAY *get_indirect_irradiance(DATARRAY *dp, const double radius,
93 >                                const double mu_s);
94 >
95 > #ifdef __cplusplus
96 > }
97 > #endif
98 >
99 > #endif /* ATMOS_H */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines