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.12 by greg, Wed Dec 28 19:42:13 2005 UTC vs.
Revision 2.13 by greg, Sat Aug 1 23:27:04 2015 UTC

# Line 116 | Line 116 | main(
116      height = atof(argv[5]);
117      nslats  = atoi(argv[6]);
118      angle = atof(argv[7]);
119 <    if (argc == 10)
119 >    if (argc == 10) {
120          if (!strcmp(argv[8], "-r"))
121              rcurv = atof(argv[9]);
122          else if (!strcmp(argv[8], "+r"))
123              rcurv = -atof(argv[9]);
124          else
125              goto userr;
126 <
126 >    }
127      /* CURVED BLIND CALCULATION */
128  
129      if (rcurv != 0.) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines