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

Comparing ray/src/rt/func.c (file contents):
Revision 2.7 by greg, Sat Sep 26 08:10:41 1992 UTC vs.
Revision 2.10 by greg, Tue Aug 3 12:04:58 1993 UTC

# Line 18 | Line 18 | static char SCCSid[] = "$SunId$ LBL";
18  
19  
20   #define  INITFILE       "rayinit.cal"
21 #define  REFVNAME       "`FILE_REFCNT"
21   #define  CALSUF         ".cal"
22   #define  LCALSUF        4
23 + char  REFVNAME[] = "`FILE_REFCNT";
24  
25   XF  unitxf = {                  /* identity transform */
26 <        1.0, 0.0, 0.0, 0.0,
27 <        0.0, 1.0, 0.0, 0.0,
28 <        0.0, 0.0, 1.0, 0.0,
29 <        0.0, 0.0, 0.0, 1.0,
26 >        {{1.0, 0.0, 0.0, 0.0},
27 >        {0.0, 1.0, 0.0, 0.0},
28 >        {0.0, 0.0, 1.0, 0.0},
29 >        {0.0, 0.0, 0.0, 1.0}},
30          1.0
31   };
32  
# Line 166 | Line 166 | setfunc(m, r)                  /* set channels for function call */
166   OBJREC  *m;
167   register RAY  *r;
168   {
169 <        static long  lastrno = -1;
169 >        static unsigned long  lastrno = ~0;
170          register MFUNC  *f;
171                                          /* get function */
172          if ((f = (MFUNC *)m->os) == NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines