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

Comparing ray/src/gen/genblinds.c (file contents):
Revision 2.1 by greg, Tue Nov 12 17:04:36 1991 UTC vs.
Revision 2.5 by greg, Fri Jun 4 14:29:34 1993 UTC

# Line 35 | Line 35 | main(argc, argv)
35   int  argc;
36   char  *argv[];
37   {
38        double  atof(), fabs();
38          double  width, delem, depth, rcurv = 0.0, angle;
39          double  beta, gamma, theta, chi;
40          int     i, j, k, l;
# Line 52 | Line 51 | char  *argv[];
51          angle = atof(argv[7]);
52          if (argc == 10)
53                  if (!strcmp(argv[8], "-r"))
54 <                        rcurv = atof(argv[8]);
54 >                        rcurv = atof(argv[9]);
55                  else if (!strcmp(argv[8], "+r"))
56 <                        rcurv = -atof(argv[8]);
56 >                        rcurv = -atof(argv[9]);
57                  else
58                          goto userr;
59  
# Line 152 | Line 151 | userr:
151   makeflat(w,d,a)
152   double  w, d, a;
153   {
155        double  sin(), cos();
154          double  h;
155  
156          h = d*sin(a);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines