# | Line 12 | Line 12 | static const char RCSid[] = "$Id$"; | |
---|---|---|
12 | */ | |
13 | ||
14 | #include <stdlib.h> | |
15 | – | #include <stdio.h> |
16 | – | #include <string.h> |
15 | #include <math.h> | |
16 | ||
17 | #include "rtio.h" | |
# | Line 130 | Line 128 | char *argv[]; | |
128 | scompile(stmp, NULL, 0); | |
129 | sprintf(stmp, "%s(t)=%s;", RNAME, argv[4]); | |
130 | scompile(stmp, NULL, 0); | |
131 | < | nseg = atoi(argv[5]); |
131 | > | nseg = eval(argv[5]) + .5; |
132 | if (nseg <= 0) | |
133 | goto userror; | |
134 | modname = smooth ? "Phong" : argv[1]; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |