ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/cvmesh.h
Revision: 2.1
Committed: Tue Mar 11 17:08:55 2003 UTC (21 years, 1 month ago) by greg
Content type: text/plain
Branch: MAIN
Log Message:
First working version of new "mesh" primitive, obj2mesh converter

File Contents

# Content
1 /* RCSid $Id$ */
2 /*
3 * Header for Radiance triangle mesh conversion
4 *
5 * Include after standard.h
6 */
7
8 #include "octree.h"
9 #include "object.h"
10 #include "mesh.h"
11
12 extern MESH *ourmesh; /* global mesh pointer */
13
14 extern FVECT meshbounds[2]; /* mesh bounding box */
15
16 #ifdef NOPROTO
17
18 extern MESH *cvinit();
19 extern int cvpoly();
20 extern int cvtri();
21 extern void cvmeshbounds();
22 extern MESH *cvmesh();
23
24 #else
25
26 extern MESH *cvinit(char *nm);
27 extern int cvpoly(int n, FVECT *vp, FVECT *vn, FLOAT (*vc)[2]);
28 extern int cvtri(FVECT vp1, FVECT vp2, FVECT vp3,
29 FVECT vn1, FVECT vn2, FVECT vn3,
30 FLOAT vc1[2], FLOAT vc2[2], FLOAT vc3[2]);
31 extern void cvmeshbounds(void);
32 extern MESH *cvmesh(void);
33
34 #endif /* NOPROTO */