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

Comparing ray/src/hd/rhdisp3.c (file contents):
Revision 3.13 by greg, Wed Apr 23 00:52:33 2003 UTC vs.
Revision 3.14 by schorsch, Mon Jul 21 22:30:18 2003 UTC

# Line 53 | Line 53 | int    bi;
53                  (ip[1][0]-ip[3][0])*(ip[2][1]-ip[3][1]);
54          af *= af >= 0 ? 0.5 : -0.5;
55   getback:
56 <        copystruct(&vrev, vp);          /* compute reverse view */
56 >        vrev = *vp;             /* compute reverse view */
57          for (i = 0; i < 3; i++) {
58                  vrev.vdir[i] = -vp->vdir[i];
59                  vrev.vup[i] = -vp->vup[i];
# Line 239 | Line 239 | addcell(gcp, cl)               /* add a cell to a list */
239   GCOORD  *gcp;
240   register struct cellist *cl;
241   {
242 <        copystruct(cl->cl+cl->n, gcp);
242 >        *(cl->cl+cl->n) = *gcp;
243          cl->n++;
244          return(1);
245   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines