ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/cvmesh.h
Revision: 2.6
Committed: Fri Jan 24 01:26:44 2014 UTC (10 years, 9 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad5R4, rad5R2, rad4R2P2, rad5R0, rad5R1, rad4R2, rad4R2P1, rad5R3, HEAD
Changes since 2.5: +1 -3 lines
Log Message:
Hopeful fix to triangulation code for obj2mesh with N-sided polygons

File Contents

# User Rev Content
1 greg 2.6 /* RCSid $Id: cvmesh.h,v 2.5 2003/07/14 22:24:00 schorsch Exp $ */
2 greg 2.1 /*
3     * Header for Radiance triangle mesh conversion
4     *
5     * Include after standard.h
6     */
7 schorsch 2.3 #ifndef _RAD_CVMESH_H_
8     #define _RAD_CVMESH_H_
9 greg 2.1
10     #include "octree.h"
11     #include "object.h"
12     #include "mesh.h"
13 schorsch 2.5
14     #ifdef __cplusplus
15     extern "C" {
16     #endif
17 greg 2.1
18     extern MESH *ourmesh; /* global mesh pointer */
19    
20     extern FVECT meshbounds[2]; /* mesh bounding box */
21    
22    
23     extern MESH *cvinit(char *nm);
24 greg 2.2 extern int cvtri(OBJECT mo, FVECT vp1, FVECT vp2, FVECT vp3,
25 greg 2.1 FVECT vn1, FVECT vn2, FVECT vn3,
26 schorsch 2.4 RREAL vc1[2], RREAL vc2[2], RREAL vc3[2]);
27 greg 2.1 extern void cvmeshbounds(void);
28     extern MESH *cvmesh(void);
29 greg 2.2 /* defined in wfconv.c */
30     void wfreadobj(char *objfn);
31    
32 greg 2.1
33 schorsch 2.3 #ifdef __cplusplus
34     }
35     #endif
36     #endif /* _RAD_CVMESH_H_ */
37