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

Comparing ray/src/hd/rhd_glx1.c (file contents):
Revision 3.1 by greg, Sat Feb 22 02:07:24 2003 UTC vs.
Revision 3.2 by schorsch, Mon Jul 21 22:30:18 2003 UTC

# Line 170 | Line 170 | char  *id;
170                          DisplayWidth(ourdisplay, ourscreen);
171          pheight = (double)DisplayHeightMM(ourdisplay, ourscreen) /
172                          DisplayHeight(ourdisplay, ourscreen);
173 <        copystruct(&odev.v, &stdview);
173 >        odev.v = stdview;
174          odev.v.type = VT_PER;
175                                          /* map the window */
176          XMapWindow(ourdisplay, gwind);
# Line 252 | Line 252 | register VIEW  *nv;
252                          XResizeWindow(ourdisplay, gwind, odev.hres, odev.vres);
253                          dev_input();    /* get resize event */
254                  }
255 <                copystruct(&odev.v, nv);
255 >                odev.v = *nv;
256          }
257          if (nxtzmax > FTINY) {
258                  curzmax = nxtzmax;
# Line 507 | Line 507 | int    dx, dy, mov, orb;
507          double  d;
508          register int    li;
509                                  /* start with old view */
510 <        copystruct(&nv, &odev.v);
510 >        nv = odev.v;
511                                  /* change view direction */
512          if (mov | orb) {
513                  if ((li = qtFindLeaf(dx, dy)) < 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines