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

Comparing ray/src/common/octree.h (file contents):
Revision 2.6 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.8 by greg, Thu May 15 05:13:35 2003 UTC

# Line 33 | Line 33
33   #define  octti(ot)      (((ot)&03777)<<3)/* octree index in block */
34  
35   #ifndef  MAXOBLK
36 < #ifdef  BIGMEM
37 < #define  MAXOBLK        32767           /* maximum octree block */
38 < #else
36 > #ifdef  SMLMEM
37   #define  MAXOBLK        4095            /* maximum octree block */
38 + #else
39 + #define  MAXOBLK        32767           /* maximum octree block */
40   #endif
41   #endif
42  
# Line 88 | Line 88 | extern OCTREE  combine();
88   extern void     culocate();
89   extern void     cucopy();
90   extern int      incube();
91
91   extern int      readoct();
92 + extern void     readscene();
93 + extern void     writescene();
94  
95   #else
96  
# Line 102 | Line 103 | extern void    cucopy(CUBE *cu1, CUBE *cu2);
103   extern int      incube(CUBE *cu, FVECT pt);
104  
105   extern int      readoct(char *fname, int load, CUBE *scene, char *ofn[]);
106 +
107 + extern void     readscene(FILE *fp, int objsiz);
108 + extern void     writescene(int firstobj, int nobjs, FILE *fp);
109  
110   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines