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

Comparing ray/src/rt/preload.c (file contents):
Revision 2.3 by greg, Thu Jan 21 17:01:26 1993 UTC vs.
Revision 2.4 by greg, Mon Jan 25 15:15:41 1993 UTC

# Line 47 | Line 47 | preload_objs()         /* preload object data structures */
47          for (on = 0; on < nobjects; on++)
48                  load_os(objptr(on));
49   }
50
51
52 clean_slate()           /* reset time and ray counters */
53 {
54        extern long     tstart, time();
55        extern long     raynum, nrays;
56        register OBJECT on;
57
58        tstart = time(0);
59        raynum = nrays = 0;
60        for (on = 0; on < nobjects; on++)
61                objptr(on)->lastrno = -1;
62 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines