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.4 by greg, Sat Jul 9 09:42:48 1994 UTC vs.
Revision 2.5 by greg, Mon Aug 15 16:29:22 1994 UTC

# Line 306 | Line 306 | uninit()                       /* mark end of MGF file */
306   }
307  
308  
309 + clrverts()                      /* clear vertex table */
310 + {
311 +        register int    i;
312 +
313 +        lu_done(&vertab);
314 +        for (i = 0; i < NVERTS; i++)
315 +                vert[i].lused = 0;
316 +        lu_init(&vertab, NVERTS);
317 + }
318 +
319 +
320   add2dispatch(name, func)        /* add function to dispatch table */
321   char    *name;
322   int     (*func)();
# Line 511 | Line 522 | FUNARGS        *fa;
522                  fputs(fa->sarg[i], stdout);
523          }
524          putchar('\n');
525 +        clrverts();                     /* vertex id's no longer reliable */
526          return(0);
527   }
528  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines