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.8 by greg, Mon Dec 12 12:09:28 1994 UTC vs.
Revision 2.9 by greg, Tue Apr 11 13:33:10 1995 UTC

# Line 39 | Line 39 | double unit_mult = 1.;                         /* units multiplier */
39   * Stuff for tracking and reusing vertices:
40   */
41  
42 < char    VKFMT[] = "%+1.9e %+1.9e %+1.9e";
42 > char    VKFMT[] = "%+16.9e %+16.9e %+16.9e";
43   #define VKLEN           64
44  
45   #define mkvkey(k,v)     sprintf(k, VKFMT, (v)[0], (v)[1], (v)[2])
# Line 343 | Line 343 | getvertid(vname, vp)           /* get/set vertex ID for this po
343   char    *vname;
344   FVECT   vp;
345   {
346 <        char    vkey[VKLEN];
346 >        static char     vkey[VKLEN];
347          register LUENT  *lp;
348          register int    i, vndx;
349  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines