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

Comparing ray/src/hd/rhd_x11dbg.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 169 | Line 169 | char  *id;
169                          DisplayWidth(ourdisplay, ourscreen);
170          pheight = (double)DisplayHeightMM(ourdisplay, ourscreen) /
171                          DisplayHeight(ourdisplay, ourscreen);
172 <        copystruct(&odev.v, &stdview);
172 >        odev.v = stdview;
173          odev.name = id;
174          odev.v.type = VT_PER;
175          odev.v.horiz = 2.*180./PI * atan(0.5/VIEWDIST*pwidth*odev.hres);
# Line 207 | Line 207 | VIEW   *nv;
207                                          tan(PI/180./2.*nv->vert);
208                          XResizeWindow(ourdisplay, gwind, odev.hres, odev.vres);
209                  }
210 <                copystruct(&odev.v, nv);
210 >                odev.v = *nv;
211          }
212          qtReplant();
213   }
# Line 468 | Line 468 | int    dx, dy, move;
468          double  d;
469          register int    i, li;
470                                  /* start with old view */
471 <        copystruct(&nv, &odev.v);
471 >        nv = odev.v;
472                                  /* change view direction */
473          if (move) {
474                  if ((li = qtFindLeaf(dx, dy)) < 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines