| 1 |
< |
/* Copyright (c) 1988 Regents of the University of California */ |
| 1 |
> |
/* Copyright (c) 1990 Regents of the University of California */ |
| 2 |
|
|
| 3 |
|
/* SCCSid "$SunId$ LBL" */ |
| 4 |
|
|
| 10 |
|
|
| 11 |
|
#include "octree.h" |
| 12 |
|
|
| 13 |
– |
#define GET_BOUNDS IO_BOUNDS /* just load boundaries */ |
| 14 |
– |
#define GET_ALL (IO_BOUNDS|IO_SCENE|IO_TREE) /* everything */ |
| 15 |
– |
|
| 13 |
|
typedef struct scene { |
| 14 |
|
char *name; /* octree name */ |
| 15 |
|
int ldflags; /* what was loaded */ |
| 18 |
|
} SCENE; /* loaded octree */ |
| 19 |
|
|
| 20 |
|
typedef struct { |
| 21 |
< |
struct { |
| 25 |
< |
double sca; /* scaling */ |
| 26 |
< |
double xfm[4][4]; /* transform */ |
| 27 |
< |
} f, b; /* forward and backward */ |
| 21 |
> |
FULLXF x; /* forward and backward transforms */ |
| 22 |
|
SCENE *obj; /* loaded object */ |
| 23 |
|
} INSTANCE; /* instance of octree */ |
| 24 |
|
|