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.9 by greg, Tue May 25 10:30:16 1993 UTC

# Line 23 | Line 23 | static char SCCSid[] = "$SunId$ LBL";
23   #define  LCALSUF        4
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