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

Comparing ray/src/common/mesh.h (file contents):
Revision 2.4 by greg, Tue May 13 17:58:32 2003 UTC vs.
Revision 2.5 by schorsch, Fri Jun 6 16:38:47 2003 UTC

# Line 4 | Line 4
4   *
5   *  Include after standard.h, object.h and octree.h
6   */
7 + #ifndef _RAD_MESH_H_
8 + #define _RAD_MESH_H_
9 + #ifdef __cplusplus
10 + extern "C" {
11 + #endif
12  
13   #include "copyright.h"
14  
# Line 112 | Line 117 | typedef struct {
117                                  /* magic number for mesh files */
118   #define MESHMAGIC       ( 1 *MAXOBJSIZ+311)     /* increment first value */
119  
115 #ifdef NOPROTO
120  
117 extern MESH     *getmesh();
118 extern MESHINST *getmeshinst();
119 extern int      getmeshtrivid();
120 extern int      getmeshvert();
121 extern int      getmeshtri();
122 extern OBJREC   *getmeshpseudo();
123 extern int4     addmeshvert();
124 extern OBJECT   addmeshtri();
125 extern char     *checkmesh();
126 extern void     printmeshstats();
127 extern void     freemesh();
128 extern void     freemeshinst();
129 extern void     readmesh();
130 extern void     writemesh();
131
132 #else
133
121   extern MESH     *getmesh(char *mname, int flags);
122   extern MESHINST *getmeshinst(OBJREC *o, int flags);
123   extern int      getmeshtrivid(int4 tvid[3], OBJECT *mo,
# Line 148 | Line 135 | extern void    freemeshinst(OBJREC *o);
135   extern void     readmesh(MESH *mp, char *path, int flags);
136   extern void     writemesh(MESH *mp, FILE *fp);
137  
138 < #endif /* NOPROTO */
138 >
139 > #ifdef __cplusplus
140 > }
141 > #endif
142 > #endif /* _RAD_MESH_H_ */
143 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines