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.6 by greg, Tue Mar 11 19:29:04 2003 UTC vs.
Revision 3.9 by schorsch, Mon Oct 27 10:19:31 2003 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7  
8   #include "copyright.h"
9  
10 + #include "rtprocess.h"
11   #include "radogl.h"
12  
13   #ifndef NLIST2ALLOC
# Line 34 | Line 35 | initotypes()                   /* initialize ofun array */
35          ofun[OBJ_RING].funp = o_ring;
36          ofun[OBJ_SOURCE].funp = o_source;
37          ofun[OBJ_INSTANCE].funp = o_instance;
38 +        ofun[OBJ_MESH].funp = o_unsupported;
39                                                  /* assign material types */
40          ofun[MAT_TRANS].funp =
41          ofun[MAT_PLASTIC].funp =
# Line 117 | Line 119 | int
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;
# Line 147 | Line 149 | void
149   rgl_load(inpspec)               /* convert scene description into OGL calls */
150   char    *inpspec;
151   {
150        FILE    *popen();
152          char    *fgetline();
153          FILE    *infp;
154          char    buf[1024];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines