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.4 by greg, Wed Oct 18 18:49:09 1989 UTC vs.
Revision 1.5 by greg, Fri Jan 19 00:03:08 1990 UTC

# Line 16 | Line 16 | static char SCCSid[] = "$SunId$ LBL";
16   *      4/3/87
17   */
18  
19 < #include  <stdio.h>
20 < #include  "fvect.h"
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 */
24  
26 #define  PI             3.14159265358979323846
27
28 #define  FTINY          1e-7
29
25   #define  ABS(x)         ((x)>=0 ? (x) : -(x))
26  
27   #define  pvect(p)       printf(vformat, (p)[0], (p)[1], (p)[2])
# Line 334 | Line 329 | double mat[4][4],inverse[4][4];
329          register int i,j,k;
330          register double temp;
331  
332 <        bcopy(mat, m4tmp, sizeof(m4tmp));
332 >        bcopy((char *)mat, (char *)m4tmp, sizeof(m4tmp));
333                                          /* set inverse to identity */
334          for (i = 0; i < 4; i++)
335                  for (j = 0; j < 4; j++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines