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.5 by greg, Sat Jun 6 20:18:32 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines