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

Comparing ray/src/gen/gensurf.c (file contents):
Revision 1.9 by greg, Mon Jul 9 09:55:47 1990 UTC vs.
Revision 1.10 by greg, Fri Jul 20 14:35:59 1990 UTC

# Line 61 | Line 61 | char  *argv[];
61  
62          for (i = 8; i < argc; i++)
63                  if (!strcmp(argv[i], "-e"))
64 <                        scompile(NULL, argv[++i]);
64 >                        scompile(argv[++i], NULL, 0);
65                  else if (!strcmp(argv[i], "-f"))
66                          fcompile(argv[++i]);
67                  else if (!strcmp(argv[i], "-s"))
# Line 72 | Line 72 | char  *argv[];
72          modname = argv[1];
73          surfname = argv[2];
74          sprintf(stmp, "%s(s,t)=%s;", XNAME, argv[3]);
75 <        scompile(NULL, stmp);
75 >        scompile(stmp, NULL, 0);
76          sprintf(stmp, "%s(s,t)=%s;", YNAME, argv[4]);
77 <        scompile(NULL, stmp);
77 >        scompile(stmp, NULL, 0);
78          sprintf(stmp, "%s(s,t)=%s;", ZNAME, argv[5]);
79 <        scompile(NULL, stmp);
79 >        scompile(stmp, NULL, 0);
80          m = atoi(argv[6]);
81          n = atoi(argv[7]);
82          if (m <= 0 || n <= 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines