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

Comparing ray/src/common/rglinst.c (file contents):
Revision 3.13 by schorsch, Fri Nov 14 17:22:06 2003 UTC vs.
Revision 3.14 by greg, Tue May 25 06:30:46 2004 UTC

# Line 89 | Line 89 | register OBJREC        *o;
89  
90  
91   static int
92 < buildoctlist(lp)                        /* build octree list */
92 > buildoctlist(lp, p)                     /* build octree list */
93   LUENT   *lp;
94 + void    *p;
95   {
96          int     old_dolights = dolights, old_domats = domats;
97          register OCTINST        *op = (OCTINST *)lp->data;
# Line 119 | Line 120 | loadoctrees()                          /* load octrees we've saved up */
120                          error(USER, "too many octree levels -- instance loop?");
121                  looptab = ottab;
122                  ottab.tsiz = 0;
123 <                nocts += lu_doall(&looptab, buildoctlist);
123 >                nocts += lu_doall(&looptab, buildoctlist, NULL);
124                  lu_done(&looptab);
125          }
126          return(nocts);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines