| 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 |
|
|
struct scene *next; /* next in list */ |
| 18 |
|
|
} SCENE; /* loaded octree */ |
| 19 |
|
|
|
| 20 |
|
|
typedef struct { |
| 21 |
greg |
1.3 |
FULLXF x; /* forward and backward transforms */ |
| 22 |
greg |
1.1 |
SCENE *obj; /* loaded object */ |
| 23 |
|
|
} INSTANCE; /* instance of octree */ |
| 24 |
|
|
|
| 25 |
|
|
extern SCENE *getscene(); |
| 26 |
|
|
|
| 27 |
|
|
extern INSTANCE *getinstance(); |