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

Comparing ray/src/gen/genprism.c (file contents):
Revision 2.7 by greg, Tue Mar 19 20:59:22 1996 UTC vs.
Revision 2.8 by greg, Sat Feb 22 02:07:23 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1996 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   *  genprism.c - generate a prism.
6   *              2D vertices in the xy plane are given on the
# Line 14 | Line 11 | static char SCCSid[] = "$SunId$ LBL";
11  
12   #include  <stdio.h>
13  
14 + #include <stdlib.h>
15 +
16   #include  <math.h>
17  
18   #include  <ctype.h>
# Line 21 | Line 20 | static char SCCSid[] = "$SunId$ LBL";
20   #define  MAXVERT        1024            /* maximum # vertices */
21  
22   #define  FTINY          1e-6
24
25 #ifdef  DCL_ATOF
26 extern double  atof();
27 #endif
23  
24   char  *pmtype;          /* material type */
25   char  *pname;           /* name */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines