ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/pcomb.c
(Generate patch)

Comparing ray/src/px/pcomb.c (file contents):
Revision 2.23 by schorsch, Thu Jun 5 19:29:34 2003 UTC vs.
Revision 2.26 by schorsch, Mon Jul 21 22:30:18 2003 UTC

# Line 8 | Line 8 | static const char      RCSid[] = "$Id$";
8   */
9  
10   #include "standard.h"
11 + #include "platform.h"
12   #include "color.h"
13   #include "calcomp.h"
14   #include "view.h"
# Line 108 | Line 109 | char   *argv[];
109          for (nfiles = 0; nfiles < MAXINP; nfiles++) {
110                  setcolor(input[nfiles].coef, 1.0, 1.0, 1.0);
111                  setcolor(input[nfiles].expos, 1.0, 1.0, 1.0);
112 <                copystruct(&input[nfiles].vw, &stdview);
112 >                input[nfiles].vw = stdview;
113                  input[nfiles].pa = 1.0;
114          }
115          nfiles = 0;
# Line 517 | Line 518 | register char  *nam;
518          static unsigned long    ltick[MAXINP];
519          static FVECT    lorg[MAXINP], ldir[MAXINP];
520          static double   ldist[MAXINP];
521 <        FLOAT   loc[2];
521 >        RREAL   loc[2];
522          int     fn;
523          register int    i;
524  
# Line 555 | Line 556 | l_psize()                      /* compute pixel size in steradians */
556          static unsigned long    ltick[MAXINP];
557          static double   psize[MAXINP];
558          FVECT   dir0, org, dirx, diry;
559 <        FLOAT   locx[2], locy[2];
559 >        RREAL   locx[2], locy[2];
560          double  d;
561          int     fn;
562          register int    i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines