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

Comparing ray/src/common/object.h (file contents):
Revision 1.3 by greg, Wed Jul 24 14:15:51 1991 UTC vs.
Revision 1.4 by greg, Wed Oct 23 11:52:57 1991 UTC

# Line 34 | Line 34 | typedef struct {
34   *      and the modifier index.
35   */
36  
37 < typedef short  OBJECT;                  /* index into object array */
37 > #ifndef  OBJECT
38 > #ifdef  BIGMEM
39 > #define  OBJECT         int             /* index to object array */
40 > #else
41 > #define  OBJECT         short           /* index to object array */
42 > #endif
43 > #endif
44  
45   typedef struct {
46          OBJECT  omod;                   /* modifier number */
# Line 45 | Line 51 | typedef struct {
51          long  lastrno;                  /* last ray this was used with */
52   }  OBJREC;
53  
54 + #ifndef  MAXOBJBLK
55 + #ifdef  BIGMEM
56 + #define  MAXOBJBLK      4095            /* maximum number of object blocks */
57 + #else
58   #define  MAXOBJBLK      511             /* maximum number of object blocks */
59 + #endif
60 + #endif
61  
62   extern OBJREC  *objblock[MAXOBJBLK];    /* the object blocks */
63   extern OBJECT  nobjects;                /* # of objects */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines