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

Comparing ray/src/hd/rhd_ogl.c (file contents):
Revision 3.28 by greg, Sun Jul 24 19:53:08 2005 UTC vs.
Revision 3.30 by schorsch, Wed Jun 7 17:52:04 2006 UTC

# Line 324 | Line 324 | dev_view(                      /* assign new driver view */
324          register VIEW   *nv
325   )
326   {
327 + #ifdef STEREO
328 +        double  d;
329 + #endif
330          if (nv->type != VT_PER ||               /* check view legality */
331                          nv->horiz > 160. || nv->vert > 160.) {
332                  error(COMMAND, "illegal view type/angle");
# Line 765 | Line 768 | moveview(      /* move our view */
768   {
769          VIEW    nv;
770          FVECT   odir, v1, wip;
771 <        double  d, d1;
771 >        double  d;
772 > #ifdef DOBJ
773 >        double d1;
774 > #endif
775                                  /* start with old view */
776          nv = odev.v;
777                                  /* orient our motion */
# Line 821 | Line 827 | getframe(                              /* get focus frame */
827          int     startx = ebut->x, starty = ebut->y;
828          int     endx, endy, midx, midy;
829          FVECT   odir, v1;
830 <        double  d, d1;
830 >        double  d;
831 > #ifdef DOBJ
832 >        double d1;
833 > #endif
834                                                  /* get mouse drag */
835          XMaskEvent(ourdisplay, ButtonReleaseMask, levptr(XEvent));
836          endx = levptr(XButtonReleasedEvent)->x;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines