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.24 by schorsch, Sun Jun 8 12:03:10 2003 UTC vs.
Revision 2.27 by greg, Mon Aug 4 22:37:53 2003 UTC

# Line 109 | 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 312 | Line 312 | double (*ourbright)() = rgb_bright;
312  
313   init()                                  /* perform final setup */
314   {
315 <        double  l_colin(), l_expos(), l_pixaspect(), l_ray(), l_psize();
315 >        double  l_colin(char *), l_expos(char *), l_pixaspect(char *),
316 >                        l_ray(char *), l_psize(char *);
317          register int    i;
318                                                  /* define constants */
319          varset("PI", ':', PI);
# Line 446 | Line 447 | register char  *nam;
447  
448  
449   double
450 < l_pixaspect()                   /* return pixel aspect ratio */
450 > l_pixaspect(char *nm)           /* return pixel aspect ratio */
451   {
452          register int    fn;
453  
# Line 518 | Line 519 | register char  *nam;
519          static unsigned long    ltick[MAXINP];
520          static FVECT    lorg[MAXINP], ldir[MAXINP];
521          static double   ldist[MAXINP];
522 <        FLOAT   loc[2];
522 >        RREAL   loc[2];
523          int     fn;
524          register int    i;
525  
# Line 551 | Line 552 | register char  *nam;
552  
553  
554   double
555 < l_psize()                       /* compute pixel size in steradians */
555 > l_psize(char *nm)               /* compute pixel size in steradians */
556   {
557          static unsigned long    ltick[MAXINP];
558          static double   psize[MAXINP];
559          FVECT   dir0, org, dirx, diry;
560 <        FLOAT   locx[2], locy[2];
560 >        RREAL   locx[2], locy[2];
561          double  d;
562          int     fn;
563          register int    i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines