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.16 by greg, Tue Jun 8 19:48:30 2004 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7  
8   #include "rholo.h"
9   #include "rhdisp.h"
10 #include "view.h"
10  
11   struct cellist {
12          GCOORD  *cl;
# Line 53 | Line 52 | int    bi;
52                  (ip[1][0]-ip[3][0])*(ip[2][1]-ip[3][1]);
53          af *= af >= 0 ? 0.5 : -0.5;
54   getback:
55 <        copystruct(&vrev, vp);          /* compute reverse view */
55 >        vrev = *vp;             /* compute reverse view */
56          for (i = 0; i < 3; i++) {
57                  vrev.vdir[i] = -vp->vdir[i];
58                  vrev.vup[i] = -vp->vup[i];
# Line 239 | Line 238 | addcell(gcp, cl)               /* add a cell to a list */
238   GCOORD  *gcp;
239   register struct cellist *cl;
240   {
241 <        copystruct(cl->cl+cl->n, gcp);
241 >        *(cl->cl+cl->n) = *gcp;
242          cl->n++;
243          return(1);
244   }
# Line 304 | Line 303 | memerr:
303   }
304  
305  
306 < gridlines(f)                    /* run through holodeck section grid lines */
307 < int     (*f)();
306 > extern void
307 > gridlines(                      /* run through holodeck section grid lines */
308 >        void    (*f)(FVECT wp[2])
309 > )
310   {
311          register int    hd, w, i;
312          int     g0, g1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines