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

Comparing ray/src/ot/writemesh.c (file contents):
Revision 2.4 by greg, Fri Jan 30 00:08:31 2004 UTC vs.
Revision 2.5 by schorsch, Sat Mar 27 12:41:45 2004 UTC

# Line 11 | Line 11 | static const char RCSid[] = "$Id$";
11   #include  "mesh.h"
12  
13  
14 + static void putfullnode(OCTREE fn, FILE *fp);
15 + static void puttree(OCTREE ot, FILE *fp);
16 + static void putpatch(MESHPATCH *pp, FILE *fp);
17 +
18 +
19   static void
20 < putfullnode(fn, fp)             /* write out a full node */
21 < OCTREE  fn;
22 < FILE    *fp;
20 > putfullnode(            /* write out a full node */
21 >        OCTREE  fn,
22 >        FILE    *fp
23 > )
24   {
25          OBJECT  oset[MAXSET+1];
26          register int  i;
# Line 26 | Line 32 | FILE   *fp;
32  
33  
34   static void
35 < puttree(ot, fp)                 /* write octree to fp in pre-order form */
36 < register OCTREE ot;
37 < FILE            *fp;
35 > puttree(                        /* write octree to fp in pre-order form */
36 >        register OCTREE ot,
37 >        FILE            *fp
38 > )
39   {
40          
41          if (istree(ot)) {
# Line 48 | Line 55 | FILE           *fp;
55  
56  
57   static void
58 < putpatch(pp, fp)                        /* write out a mesh patch */
59 < register MESHPATCH      *pp;
60 < FILE                    *fp;
58 > putpatch(                       /* write out a mesh patch */
59 >        register MESHPATCH      *pp,
60 >        FILE                    *fp
61 > )
62   {
63          int     flags = MT_V;
64          int     i, j;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines