7 |
|
|
8 |
|
#include "copyright.h" |
9 |
|
|
10 |
+ |
#include "rtprocess.h" |
11 |
|
#include "radogl.h" |
12 |
|
|
13 |
|
#ifndef NLIST2ALLOC |
119 |
|
rgl_octlist(fname, cent, radp, nl) /* load scen into display list */ |
120 |
|
char *fname; |
121 |
|
FVECT cent; /* returned octree center (optional) */ |
122 |
< |
FLOAT *radp; /* returned octree size (optional) */ |
122 |
> |
RREAL *radp; /* returned octree size (optional) */ |
123 |
|
int *nl; /* returned number of lists (optional) */ |
124 |
|
{ |
125 |
|
double r; |
149 |
|
rgl_load(inpspec) /* convert scene description into OGL calls */ |
150 |
|
char *inpspec; |
151 |
|
{ |
151 |
– |
FILE *popen(); |
152 |
|
char *fgetline(); |
153 |
|
FILE *infp; |
154 |
|
char buf[1024]; |