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

Comparing ray/src/cv/thf2rad.c (file contents):
Revision 2.2 by greg, Thu Dec 19 15:05:54 1991 UTC vs.
Revision 2.5 by greg, Mon Nov 8 13:43:34 1993 UTC

# Line 13 | Line 13 | static char SCCSid[] = "$SunId$ LBL";
13   */
14  
15   #include <stdio.h>
16 + #include <math.h>
17  
18   #define MAXSTR          128             /* maximum string or id length */
19   #define MAXPTS          2048            /* maximum points per object */
20  
20 #ifndef atof
21 extern double  atof();
22 #endif
23
21   typedef struct {
22          double  x, y, z;
23   } POINT;
24  
25   double  rad = 0.0;                      /* line radius */
26 +
27 + #ifdef  DCL_ATOF
28 + extern double  atof();
29 + #endif
30  
31  
32   main(argc, argv)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines