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 1.5 by greg, Thu Jan 18 23:58:55 1990 UTC vs.
Revision 2.3 by greg, Fri Mar 5 15:14:06 1993 UTC

# Line 11 | Line 11
11                                  /* view types */
12   #define  VT_PER         'v'             /* perspective */
13   #define  VT_PAR         'l'             /* parallel */
14 + #define  VT_ANG         'a'             /* angular fisheye */
15 + #define  VT_HEM         'h'             /* hemispherical fisheye */
16  
17   typedef struct {
18          int  type;              /* view type */
# Line 31 | Line 33 | extern VIEW  stdview;
33  
34   extern char  *setview();
35  
34 extern double  sqrt();
35
36   #define  viewaspect(v)  sqrt((v)->vn2/(v)->hn2)
37  
38 < #define  STDVIEW        {VT_PER,0.,0.,0.,0.,1.,0.,0.,0.,1.,45.,45.,0.,0.}
38 > #define  STDVIEW        {VT_PER,{0.,0.,0.},{0.,1.,0.},{0.,0.,1.}, \
39 >                                45.,45.,0.,0.,{0.,0.,0.},{0.,0.,0.},0.,0.}
40  
41   #define  VIEWSTR        "VIEW="
42 + #define  VIEWSTRL       5

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines