ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/view.h
(Generate patch)

Comparing ray/src/common/view.h (file contents):
Revision 2.3 by greg, Fri Mar 5 15:14:06 1993 UTC vs.
Revision 2.4 by greg, Tue Dec 20 20:15:06 1994 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1988 Regents of the University of California */
1 > /* Copyright (c) 1994 Regents of the University of California */
2  
3   /* SCCSid "$SunId$ LBL" */
4  
# Line 23 | Line 23 | typedef struct {
23          double  vert;           /* vertical view size */
24          double  hoff;           /* horizontal image offset */
25          double  voff;           /* vertical image offset */
26 +        double  vfore;          /* fore clipping plane */
27 +        double  vaft;           /* aft clipping plane (<=0 for inf) */
28          FVECT  hvec;            /* computed horizontal image vector */
29          FVECT  vvec;            /* computed vertical image vector */
30          double  hn2;            /* DOT(hvec,hvec) */
# Line 33 | Line 35 | extern VIEW  stdview;
35  
36   extern char  *setview();
37  
38 + extern double  viewray();
39 +
40   #define  viewaspect(v)  sqrt((v)->vn2/(v)->hn2)
41  
42   #define  STDVIEW        {VT_PER,{0.,0.,0.},{0.,1.,0.},{0.,0.,1.}, \
43 <                                45.,45.,0.,0.,{0.,0.,0.},{0.,0.,0.},0.,0.}
43 >                                45.,45.,0.,0.,0.,0., \
44 >                                {0.,0.,0.},{0.,0.,0.},0.,0.}
45  
46   #define  VIEWSTR        "VIEW="
47   #define  VIEWSTRL       5

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines