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

Comparing ray/src/cv/ies2rad.c (file contents):
Revision 2.6 by greg, Thu Mar 18 11:21:21 1993 UTC vs.
Revision 2.8 by greg, Fri Jun 4 14:40:25 1993 UTC

# Line 11 | Line 11 | static char SCCSid[] = "$SunId$ LBL";
11   */
12  
13   #include <stdio.h>
14 + #include <math.h>
15   #include <ctype.h>
16   #include "color.h"
17   #include "paths.h"
# Line 563 | Line 564 | char   *mod, *name;
564          else if (pmtype == PM_B)
565                  fprintf(out, "5 ");
566          else if (FEQ(bounds[1][0],90.) && FEQ(bounds[1][1],270.))
567 <                fprintf(out, "8 ");
567 >                fprintf(out, "7 ");
568          else
569 <                fprintf(out, "6 ");
569 >                fprintf(out, "5 ");
570          fprintf(out, "%s %s source.cal ",
571                          srcshape.type==SPHERE ? "corr" : "flatcorr",
572                          libname(buf,name,T_DST));
# Line 584 | Line 585 | char   *mod, *name;
585                                  fprintf(out, "src_phi2 ");
586                          else
587                                  fprintf(out, "src_phi ");
588 <                        fprintf(out, "src_theta -my ");
588 >                        fprintf(out, "src_theta ");
589                          if (FEQ(bounds[1][0],90.) && FEQ(bounds[1][1],270.))
590                                  fprintf(out, "-rz -90 ");
591                  } else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines