ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/gen/sun.h
Revision: 2.1
Committed: Fri Aug 9 16:51:15 2013 UTC (10 years, 8 months ago) by greg
Content type: text/plain
Branch: MAIN
Log Message:
Added header file for solar position calculations

File Contents

# Content
1 /* RCSid $Id$ */
2 /*
3 * Header file for solar position calculations
4 */
5
6 #ifndef _RAD_SUN_H_
7 #define _RAD_SUN_H_
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 extern int jdate(int month, int day);
14 extern double stadj(int jd);
15 extern double sdec(int jd);
16 extern double salt(double sd, double st);
17 extern double sazi(double sd, double st);
18
19 #ifdef __cplusplus
20 }
21 #endif
22
23 #endif /* _RAD_SUN_H_ */