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

Comparing ray/src/gen/genbeads.c (file contents):
Revision 2.1 by greg, Tue Nov 12 17:04:35 1991 UTC vs.
Revision 2.4 by greg, Mon Aug 2 14:22:56 1993 UTC

# Line 12 | Line 12 | static char SCCSid[] = "$SunId$ LBL";
12   */
13  
14   #include  <stdio.h>
15 + #include  <math.h>
16  
16
17   char  *mtype;           /* material type */
18  
19   char  *name;            /* name */
20  
21 + #ifdef  DCL_ATOF
22 + extern double  atof();
23 + #endif
24  
25 +
26   main(argc, argv)
27   int  argc;
28   char  **argv;
29   {
26        double  atof();
30          double  p0[3], p1[3], r0[3], r1[3];
31          double  rad, inc;
32          
# Line 65 | Line 68 | double  r1[3];
68   double  rad;
69   double  inc;
70   {
68        double  sqrt();
71          register int  i;
72          double  v[3];
73          double  t;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines