--- ray/src/gen/genworm.c 1991/04/23 13:05:03 1.7 +++ ray/src/gen/genworm.c 1993/01/05 10:06:59 2.2 @@ -15,18 +15,16 @@ static char SCCSid[] = "$SunId$ LBL"; */ #include - +#include #include "fvect.h" -#define XNAME "X_" /* x function name */ -#define YNAME "Y_" /* y function name */ -#define ZNAME "Z_" /* z function name */ -#define RNAME "R_" /* r function name */ +#define XNAME "X`SYS`" /* x function name */ +#define YNAME "Y`SYS`" /* y function name */ +#define ZNAME "Z`SYS`" /* z function name */ +#define RNAME "R`SYS`" /* r function name */ #define PI 3.14159265358979323846 -#define FTINY 1e-7 - #define max(a,b) ((a) > (b) ? (a) : (b)) @@ -44,9 +42,9 @@ char *argv[]; int i, nseg; varset("PI", ':', PI); - funset("hermite", 5, l_hermite); - funset("bezier", 5, l_bezier); - funset("bspline", 5, l_bspline); + funset("hermite", 5, ':', l_hermite); + funset("bezier", 5, ':', l_bezier); + funset("bspline", 5, ':', l_bspline); if (argc < 8) goto userror;