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

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

# Line 130 | Line 130 | char  *argv[];
130          scompile(stmp, NULL, 0);
131          sprintf(stmp, "%s(t)=%s;", RNAME, argv[4]);
132          scompile(stmp, NULL, 0);
133 <        nseg = atoi(argv[5]);
133 >        nseg = eval(argv[5]) + .5;
134          if (nseg <= 0)
135                  goto userror;
136          modname = smooth ? "Phong" : argv[1];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines