--- ray/src/common/octree.h 2003/06/27 06:53:21 2.10 +++ ray/src/common/octree.h 2023/03/17 18:27:18 2.13 @@ -1,4 +1,4 @@ -/* RCSid $Id: octree.h,v 2.10 2003/06/27 06:53:21 greg Exp $ */ +/* RCSid $Id: octree.h,v 2.13 2023/03/17 18:27:18 greg Exp $ */ /* * octree.h - header file for routines using octrees. */ @@ -39,7 +39,7 @@ extern "C" { #ifdef SMLMEM #define MAXOBLK 4095 /* maximum octree block */ #else -#define MAXOBLK 32767 /* maximum octree block */ +#define MAXOBLK 262143 /* maximum octree block */ #endif #endif @@ -53,9 +53,9 @@ extern OCTREE *octblock[MAXOBLK]; /* octree blocks */ */ typedef struct { - OCTREE cutree; /* the octree for this cube */ FVECT cuorg; /* the cube origin */ double cusize; /* the cube size */ + OCTREE cutree; /* the octree for this cube */ } CUBE; extern CUBE thescene; /* the main scene */ @@ -88,7 +88,6 @@ extern void octfree(OCTREE ot); extern void octdone(void); extern OCTREE combine(OCTREE ot); extern void culocate(CUBE *cu, FVECT pt); -extern void cucopy(CUBE *cu1, CUBE *cu2); extern int incube(CUBE *cu, FVECT pt); extern int readoct(char *fname, int load, CUBE *scene, char *ofn[]);