1 |
< |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
1 |
> |
/* Copyright (c) 1999 Silicon Graphics, Inc. */ |
2 |
|
|
3 |
|
#ifndef lint |
4 |
|
static char SCCSid[] = "$SunId$ SGI"; |
331 |
|
dev_input(); /* get resize event */ |
332 |
|
} |
333 |
|
copystruct(&odev.v, nv); /* setview() already called */ |
334 |
– |
#ifdef STEREO |
335 |
– |
copystruct(&vwright, nv); |
336 |
– |
d = eyesepdist / sqrt(nv->hn2); |
337 |
– |
VSUM(vwright.vp, nv->vp, nv->hvec, d); |
338 |
– |
/* setview(&vwright); -- Unnecessary */ |
339 |
– |
#endif |
334 |
|
viewflags |= VWCHANGE; |
335 |
|
} |
336 |
+ |
#ifdef STEREO |
337 |
+ |
copystruct(&vwright, nv); |
338 |
+ |
d = eyesepdist / sqrt(nv->hn2); |
339 |
+ |
VSUM(vwright.vp, nv->vp, nv->hvec, d); |
340 |
+ |
/* setview(&vwright); -- Unnecessary */ |
341 |
+ |
#endif |
342 |
|
wipeclean(); |
343 |
|
return(1); |
344 |
|
} |
857 |
|
dev_zmax = 100.; |
858 |
|
} else { |
859 |
|
dev_zmin = 0.5*depthlim[0]; |
860 |
< |
dev_zmax = 2.0*depthlim[1]; |
860 |
> |
dev_zmax = 1.25*depthlim[1]; |
861 |
|
if (dev_zmin > dev_zmax/5.) |
862 |
|
dev_zmin = dev_zmax/5.; |
863 |
|
} |