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.14 by greg, Fri Oct 24 05:29:42 2003 UTC vs.
Revision 2.17 by greg, Tue Jan 18 00:33:16 2005 UTC

# Line 2 | Line 2
2   /*
3   *  view.h - header file for image generation.
4   *
5 < *  Include after stdio.h and fvect.h
5 > *  Include after stdio.h and rtmath.h
6   *  Includes resolu.h
7   */
8   #ifndef _RAD_VIEW_H_
9   #define _RAD_VIEW_H_
10  
11 #include  <time.h>
11   #include  "resolu.h"
12  
13   #ifdef __cplusplus
# Line 27 | Line 26 | typedef struct {
26          FVECT  vp;              /* view origin */
27          FVECT  vdir;            /* view direction */
28          FVECT  vup;             /* view up */
29 +        double  vdist;          /* view distance */
30          double  horiz;          /* horizontal view size */
31          double  vert;           /* vertical view size */
32          double  hoff;           /* horizontal image offset */
# Line 44 | Line 44 | extern VIEW  stdview;
44   #define  viewaspect(v)  sqrt((v)->vn2/(v)->hn2)
45  
46   #define  STDVIEW        {VT_PER,{0.,0.,0.},{0.,1.,0.},{0.,0.,1.}, \
47 <                                45.,45.,0.,0.,0.,0., \
47 >                                1.,45.,45.,0.,0.,0.,0., \
48                                  {0.,0.,0.},{0.,0.,0.},0.,0.}
49  
50   #define  VIEWSTR        "VIEW="

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines