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

Comparing ray/src/gen/genbranch.c (file contents):
Revision 2.1 by greg, Tue Nov 12 17:04:47 1991 UTC vs.
Revision 2.2 by greg, Thu Dec 19 15:09:06 1991 UTC

# Line 16 | Line 16 | static char SCCSid[] = "$SunId$ LBL";
16  
17   #define  errf()         (var*(0.5-frandom()))
18  
19 + #ifndef atof
20 + extern double  atof();
21 + #endif
22 +
23   double  bstart[3] = {0.0, 0.0, 0.0};    /* start of branch */
24   double  bend[3] = {28.0, 8.0, 0.0};     /* end of branch */
25   double  bthick = .6;                    /* branch radius at base */
# Line 35 | Line 39 | main(argc, argv)
39   int  argc;
40   char  *argv[];
41   {
38        double  atof();
42          int  i, j;
43  
44          for (i = 1; i < argc && argv[i][0] == '-'; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines