1 |
/* Copyright (c) 1990 Regents of the University of California */ |
2 |
|
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 |
OBJECT firstobj, nobjs; /* first object and count */ |
18 |
struct scene *next; /* next in list */ |
19 |
} SCENE; /* loaded octree */ |
20 |
|
21 |
typedef struct { |
22 |
FULLXF x; /* forward and backward transforms */ |
23 |
SCENE *obj; /* loaded object */ |
24 |
} INSTANCE; /* instance of octree */ |
25 |
|
26 |
extern SCENE *getscene(); |
27 |
|
28 |
extern INSTANCE *getinstance(); |