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

Comparing ray/src/gen/genworm.c (file contents):
Revision 2.10 by greg, Fri May 4 23:56:49 2018 UTC vs.
Revision 2.11 by greg, Sat Dec 7 02:21:42 2019 UTC

# Line 78 | Line 78 | char  *argv[];
78          scompile(stmp, NULL, 0);
79          sprintf(stmp, "%s(t)=%s;", RNAME, argv[6]);
80          scompile(stmp, NULL, 0);
81 <        nseg = atoi(argv[7]);
81 >        nseg = eval(argv[7]) + .5;
82          if (nseg <= 0)
83                  goto userror;
84  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines