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 1.6 by greg, Sat Oct 13 20:56:04 1990 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 34 | Line 36 | extern char  *setview();
36   extern double  sqrt();
37  
38   #define  viewaspect(v)  sqrt((v)->vn2/(v)->hn2)
37
38 #define  copyview(d,s)  bcopy((char *)(s),(char *)(d),sizeof(VIEW))
39  
40   #define  STDVIEW        {VT_PER,0.,0.,0.,0.,1.,0.,0.,0.,1.,45.,45.,0.,0.}
41  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines