--- ray/src/common/rglfile.c 2003/04/23 02:28:06 3.7 +++ ray/src/common/rglfile.c 2003/10/27 10:19:31 3.9 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rglfile.c,v 3.7 2003/04/23 02:28:06 greg Exp $"; +static const char RCSid[] = "$Id: rglfile.c,v 3.9 2003/10/27 10:19:31 schorsch Exp $"; #endif /* * Load Radiance object(s) and create OpenGL display lists @@ -7,6 +7,7 @@ static const char RCSid[] = "$Id: rglfile.c,v 3.7 2003 #include "copyright.h" +#include "rtprocess.h" #include "radogl.h" #ifndef NLIST2ALLOC @@ -118,7 +119,7 @@ int rgl_octlist(fname, cent, radp, nl) /* load scen into display list */ char *fname; FVECT cent; /* returned octree center (optional) */ -FLOAT *radp; /* returned octree size (optional) */ +RREAL *radp; /* returned octree size (optional) */ int *nl; /* returned number of lists (optional) */ { double r; @@ -148,7 +149,6 @@ void rgl_load(inpspec) /* convert scene description into OGL calls */ char *inpspec; { - FILE *popen(); char *fgetline(); FILE *infp; char buf[1024];