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"); |
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 */ |
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; |