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

Comparing ray/src/gen/sun.c (file contents):
Revision 2.4 by schorsch, Sun Nov 16 10:29:38 2003 UTC vs.
Revision 2.6 by greg, Fri Aug 9 16:51:15 2013 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9   */
10  
11   #include  <math.h>
12 + #include  "sun.h"
13  
14 < #define  PI  3.141592654
14 > #ifdef M_PI
15 > #define  PI     M_PI
16 > #else
17 > #define  PI     3.141592653589793
18 > #endif
19  
20   double  s_latitude = 0.66;      /* site latitude (radians) */
21   double  s_longitude = 2.13;     /* site longitude (radians) */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines