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 1.1 by greg, Thu Feb 2 11:16:27 1989 UTC vs.
Revision 2.2 by greg, Thu Dec 19 15:09:06 1991 UTC

# Line 1 | Line 1
1 < /*
1 > /* Copyright (c) 1989 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
5   #endif
6 +
7 + /*
8   *  genbranch.c - program to generate 3D Christmas tree branches.
9   *
10   *     8/23/86
# Line 14 | 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 33 | Line 39 | main(argc, argv)
39   int  argc;
40   char  *argv[];
41   {
36        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