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

Comparing ray/src/cv/rad2mgf.c (file contents):
Revision 2.13 by greg, Mon Nov 20 11:06:21 1995 UTC vs.
Revision 2.14 by gwlarson, Fri Sep 4 09:09:58 1998 UTC

# Line 8 | Line 8 | static char SCCSid[] = "$SunId$ LBL";
8   * Convert Radiance scene description to MGF
9   */
10  
11 < #include <stdio.h>
12 < #include <math.h>
11 > #include "standard.h"
12   #include <ctype.h>
13   #include <string.h>
15 #include "fvect.h"
14   #include "object.h"
15   #include "color.h"
16   #include "lookup.h"
17  
20 #define PI      3.14159265358979323846
21
18   #define C_1SIDEDTHICK   0.005
19  
20   int     o_face(), o_cone(), o_sphere(), o_ring(), o_cylinder();
# Line 26 | Line 22 | int    o_instance(), o_illum();
22   int     o_plastic(), o_metal(), o_glass(), o_dielectric(),
23          o_mirror(), o_trans(), o_light();
24  
25 < extern void     free();
30 < extern char     *malloc();
25 > extern int      free();
26  
27   LUTAB   rmats = LU_SINIT(free,NULL);            /* defined material table */
28  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines