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

Comparing ray/src/gen/mksource.c (file contents):
Revision 2.2 by greg, Sat Jul 30 17:01:30 2005 UTC vs.
Revision 2.3 by schorsch, Mon Sep 19 12:32:12 2005 UTC

# Line 7 | Line 7 | static const char RCSid[] = "$Id$";
7  
8   #include "ray.h"
9   #include "random.h"
10 + #include "resolu.h"
11  
12   #define NTRUNKBR        4               /* number of branches at trunk */
13   #define NTRUNKVERT      4               /* number of vertices at trunk */
# Line 207 | Line 208 | geosample(int nsamps)
208          return(tree);
209   memerr:
210          error(SYSTEM, "out of memory in geosample()");
211 +        return NULL; /* dummy return */
212   }
213  
214   /* Compute leaf exponent histogram */
# Line 385 | Line 387 | mksources(TRITREE *samptree, double thresh, double max
387          LOSTLIGHT       *lostlightlist = NULL;
388          int             emax;
389          TRITREE         *startleaf;
388        COLOR           cval;
390          double          growstep;
391          FVECT           curcent;
392          double          currad;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines