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.3 by greg, Fri Jun 4 14:30:48 1993 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 10 | Line 12 | static char SCCSid[] = "$SunId$ LBL";
12  
13   #include  <stdio.h>
14  
15 + #include  <math.h>
16 +
17   #include  "random.h"
18  
19   #define  errf()         (var*(0.5-frandom()))
# Line 33 | Line 37 | main(argc, argv)
37   int  argc;
38   char  *argv[];
39   {
36        double  atof();
40          int  i, j;
41  
42          for (i = 1; i < argc && argv[i][0] == '-'; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines