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.9 by schorsch, Fri Jun 6 16:38:47 2003 UTC vs.
Revision 2.15 by schorsch, Mon Oct 27 10:19:31 2003 UTC

# Line 2 | Line 2
2   /*
3   *  view.h - header file for image generation.
4   *
5 < *  Include after fvect.h
5 > *  Include after stdio.h and fvect.h
6   *  Includes resolu.h
7   */
8   #ifndef _RAD_VIEW_H_
9   #define _RAD_VIEW_H_
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
10  
11 < #include "copyright.h"
11 > #include  <time.h>
12  
13 + #include  "rtmath.h"
14   #include  "resolu.h"
15  
16 + #ifdef __cplusplus
17 + extern "C" {
18 + #endif
19 +
20                                  /* view types */
21   #define  VT_PER         'v'             /* perspective */
22   #define  VT_PAR         'l'             /* parallel */
# Line 55 | Line 57 | extern char    *setview(VIEW *v);
57   extern void     normaspect(double va, double *ap, int *xp, int *yp);
58   extern double   viewray(FVECT orig, FVECT direc, VIEW *v, double x, double y);
59   extern void     viewloc(FVECT ip, VIEW *v, FVECT p);
60 < extern void     pix2loc(FLOAT loc[2], RESOLU *rp, int px, int py);
60 > extern void     pix2loc(RREAL loc[2], RESOLU *rp, int px, int py);
61   extern void     loc2pix(int pp[2], RESOLU *rp, double lx, double ly);
62   extern int      getviewopt(VIEW *v, int ac, char *av[]);
63   extern int      sscanview(VIEW *vp, char *s);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines