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.2 by greg, Thu Dec 19 15:09:06 1991 UTC vs.
Revision 2.3 by greg, Fri Jun 4 14:30:48 1993 UTC

# Line 12 | 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()))
18
19 #ifndef atof
20 extern double  atof();
21 #endif
20  
21   double  bstart[3] = {0.0, 0.0, 0.0};    /* start of branch */
22   double  bend[3] = {28.0, 8.0, 0.0};     /* end of branch */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines