ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/instance.h
Revision: 2.2
Committed: Thu Aug 6 08:18:56 1992 UTC (31 years, 9 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 2.1: +1 -0 lines
Log Message:
added firstobj and nobjs to SCENE structure

File Contents

# User Rev Content
1 greg 1.3 /* Copyright (c) 1990 Regents of the University of California */
2 greg 1.1
3     /* SCCSid "$SunId$ LBL" */
4    
5     /*
6     * instance.h - header file for routines using octree objects.
7     *
8     * 11/10/88
9     */
10    
11     #include "octree.h"
12    
13     typedef struct scene {
14     char *name; /* octree name */
15     int ldflags; /* what was loaded */
16     CUBE scube; /* scene cube */
17 greg 2.2 OBJECT firstobj, nobjs; /* first object and count */
18 greg 1.1 struct scene *next; /* next in list */
19     } SCENE; /* loaded octree */
20    
21     typedef struct {
22 greg 1.3 FULLXF x; /* forward and backward transforms */
23 greg 1.1 SCENE *obj; /* loaded object */
24     } INSTANCE; /* instance of octree */
25    
26     extern SCENE *getscene();
27    
28     extern INSTANCE *getinstance();