ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/rglfile.c
(Generate patch)

Comparing ray/src/common/rglfile.c (file contents):
Revision 3.7 by greg, Wed Apr 23 02:28:06 2003 UTC vs.
Revision 3.11 by schorsch, Sun Mar 28 20:33:12 2004 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7  
8   #include "copyright.h"
9  
10 + #include <ctype.h>
11 +
12 + #include "rtprocess.h"
13   #include "radogl.h"
14  
15   #ifndef NLIST2ALLOC
# Line 18 | Line 21 | FUN  ofun[NUMOTYPE] = INIT_OTYPE;
21   static int      nextlist, nlistleft = 0;
22  
23  
24 < static void
25 < initotypes()                    /* initialize ofun array */
24 > void
25 > initotypes(void)                        /* initialize ofun array */
26   {
27          if (ofun[OBJ_SPHERE].funp == o_sphere)
28                  return;                 /* already done */
# Line 118 | Line 121 | int
121   rgl_octlist(fname, cent, radp, nl)      /* load scen into display list */
122   char    *fname;
123   FVECT   cent;                   /* returned octree center (optional) */
124 < FLOAT   *radp;                  /* returned octree size (optional) */
124 > RREAL   *radp;                  /* returned octree size (optional) */
125   int     *nl;                    /* returned number of lists (optional) */
126   {
127          double  r;
# Line 148 | Line 151 | void
151   rgl_load(inpspec)               /* convert scene description into OGL calls */
152   char    *inpspec;
153   {
151        FILE    *popen();
154          char    *fgetline();
155          FILE    *infp;
156          char    buf[1024];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines