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

Comparing ray/src/ot/writeoct.c (file contents):
Revision 1.4 by greg, Wed Dec 12 22:46:35 1990 UTC vs.
Revision 2.1 by greg, Tue Nov 12 17:00:58 1991 UTC

# Line 18 | Line 18 | static char SCCSid[] = "$SunId$ LBL";
18  
19   #include  "otypes.h"
20  
21 + static int  putint(), putstr(), puttree(), putobj();
22  
23 +
24   writeoct(store, scene, ofn)             /* write octree structures to stdout */
25   int  store;
26   CUBE  *scene;
# Line 27 | Line 29 | char  *ofn[];
29          char  sbuf[64];
30          register int  i;
31                                          /* write format number */
32 <        putint((long)OCTMAGIC, 2);
32 >        putint((long)(OCTMAGIC+sizeof(OBJECT)), 2);
33  
34          if (!(store & IO_BOUNDS))
35                  return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines