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

Comparing ray/src/gen/sun.h (file contents):
Revision 2.1 by greg, Fri Aug 9 16:51:15 2013 UTC vs.
Revision 2.3 by greg, Thu Nov 7 23:15:07 2019 UTC

# Line 9 | Line 9
9   #ifdef __cplusplus
10   extern "C" {
11   #endif
12 +                                        /* sun calculation constants */
13 + extern double  s_latitude;
14 + extern double  s_longitude;
15 + extern double  s_meridian;
16  
17   extern int jdate(int month, int day);
18   extern double stadj(int  jd);
19   extern double sdec(int  jd);
20   extern double salt(double sd, double st);
21   extern double sazi(double sd, double st);
22 +
23 + extern double mjdate(int year, int month, int day, double hour);
24 + extern double msdec(double mjd, double *stp);
25  
26   #ifdef __cplusplus
27   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines