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.15 by schorsch, Thu Jan 1 11:21:55 2004 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   }
# Line 304 | Line 304 | memerr:
304   }
305  
306  
307 < gridlines(f)                    /* run through holodeck section grid lines */
308 < int     (*f)();
307 > extern void
308 > gridlines(                      /* run through holodeck section grid lines */
309 >        void    (*f)(FVECT wp[2])
310 > )
311   {
312          register int    hd, w, i;
313          int     g0, g1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines