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.4 by greg, Mon Jan 8 14:45:51 1990 UTC vs.
Revision 2.2 by greg, Fri Oct 2 15:56:31 1992 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  copyview(d,s)  bcopy((char *)(s),(char *)(d),sizeof(VIEW))
39
38   #define  STDVIEW        {VT_PER,0.,0.,0.,0.,1.,0.,0.,0.,1.,45.,45.,0.,0.}
39  
40   #define  VIEWSTR        "VIEW="
41 + #define  VIEWSTRL       5

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines