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

Comparing ray/src/cv/mgf2meta.c (file contents):
Revision 2.5 by greg, Thu May 4 14:25:15 1995 UTC vs.
Revision 2.6 by greg, Sat Feb 22 02:07:23 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1995 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   * Convert MGF (Materials and Geometry Format) to Metafile 2-d graphics
6   */
7  
8   #include <stdio.h>
9 + #include <stdlib.h>
10   #include <math.h>
11   #include "random.h"
12   #include "mgflib/parser.h"
# Line 16 | Line 14 | static char SCCSid[] = "$SunId$ LBL";
14   #define MSIZE   ((1<<14)-1)
15   #define MX(v)   (int)(MSIZE*(v)[(proj_axis+1)%3])
16   #define MY(v)   (int)(MSIZE*(v)[(proj_axis+2)%3])
19
20 #ifdef  DCL_ATOF
21 extern double  atof();
22 #endif
17  
18   int     r_face();
19   int     proj_axis;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines