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.4 by greg, Mon Aug 2 14:23:00 1993 UTC vs.
Revision 2.5 by greg, Sat Feb 22 02:07:23 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1989 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   *  genbranch.c - program to generate 3D Christmas tree branches.
6   *
# Line 12 | Line 9 | static char SCCSid[] = "$SunId$ LBL";
9  
10   #include  <stdio.h>
11  
12 + #include <stdlib.h>
13 +
14   #include  <math.h>
15  
16   #include  "random.h"
# Line 31 | Line 30 | int  nshoots = 7;                      /* number of offshoots */
30   int  rdepth = 3;                        /* recursion depth */
31  
32   double  var = 0.3;                      /* variability */
34
35 #ifdef  DCL_ATOF
36 extern double  atof();
37 #endif
33  
34  
35   main(argc, argv)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines