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.2 by greg, Fri Jul 8 16:10:06 1994 UTC vs.
Revision 2.3 by greg, Fri Jul 8 16:39:22 1994 UTC

# Line 353 | Line 353 | FVECT  vp;
353                          mkvkey(vkey, vert[vndx].p);
354                          lu_delete(&vertab, vkey);
355                  }
356 <                vert[vndx].lused = clock;                       /* assign it */
357 <                VCOPY(vert[vndx].p, vp);
356 >                VCOPY(vert[vndx].p, vp);                        /* assign it */
357                  printf("v v%d =\n\tp %.15g %.15g %.15g\n",      /* print it */
358                                  vndx, vp[0], vp[1], vp[2]);
359                  lp->data = (char *)&vert[vndx];                 /* set it */
360          } else
361                  vndx = (struct vert *)lp->data - vert;
362 +        vert[vndx].lused = clock;               /* record this use */
363          sprintf(vname, "v%d", vndx);
364          return(vname);
365   memerr:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines