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.12 by greg, Sat Dec 15 15:00:52 1990 UTC vs.
Revision 2.1 by greg, Tue Nov 12 17:04:49 1991 UTC

# Line 18 | Line 18 | static char SCCSid[] = "$SunId$ LBL";
18  
19   #include  "standard.h"
20  
21 < #define  XNAME          "X_"                    /* x function name */
22 < #define  YNAME          "Y_"                    /* y function name */
23 < #define  ZNAME          "Z_"                    /* z function name */
21 > #define  XNAME          "X`SYS`"                /* x function name */
22 > #define  YNAME          "Y`SYS`"                /* y function name */
23 > #define  ZNAME          "Z`SYS`"                /* z function name */
24  
25   #define  ABS(x)         ((x)>=0 ? (x) : -(x))
26  
# Line 51 | Line 51 | char  *argv[];
51          int  i, j, m, n;
52          char  stmp[256];
53  
54 <        varset("PI", PI);
55 <        funset("hermite", 5, l_hermite);
56 <        funset("bezier", 5, l_bezier);
57 <        funset("bspline", 5, l_bspline);
54 >        varset("PI", ':', PI);
55 >        funset("hermite", 5, ':', l_hermite);
56 >        funset("bezier", 5, ':', l_bezier);
57 >        funset("bspline", 5, ':', l_bspline);
58  
59          if (argc < 8)
60                  goto userror;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines