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

Comparing ray/src/gen/gendaymtx.c (file contents):
Revision 2.29 by greg, Wed Aug 14 21:00:14 2019 UTC vs.
Revision 2.30 by greg, Thu Nov 7 23:15:07 2019 UTC

# Line 85 | Line 85 | static const char RCSid[] = "$Id$";
85   #include <stdlib.h>
86   #include <string.h>
87   #include <ctype.h>
88 + #include "platform.h"
89   #include "rtmath.h"
90   #include "rtio.h"
90 #include "resolu.h"
91 #include "platform.h"
91   #include "color.h"
92 < #include "resolu.h"
92 > #include "sun.h"
93  
94   char *progname;                                                         /* Program name */
95   char errmsg[128];                                                       /* Error message buffer */
# Line 254 | Line 253 | static const ModelCoeff DirectLumEff[8] =
253   #ifndef NSUNPATCH
254   #define NSUNPATCH       4               /* max. # patches to spread sun into */
255   #endif
257
258 extern int jdate(int month, int day);
259 extern double stadj(int  jd);
260 extern double sdec(int  jd);
261 extern double salt(double sd, double st);
262 extern double sazi(double sd, double st);
263                                        /* sun calculation constants */
264 extern double  s_latitude;
265 extern double  s_longitude;
266 extern double  s_meridian;
256  
257   int             nsuns = NSUNPATCH;      /* number of sun patches to use */
258   double          fixed_sun_sa = -1;      /* fixed solid angle per sun? */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines