ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/tmesh.h
Revision: 2.1
Committed: Mon Mar 10 19:38:19 2003 UTC (21 years, 1 month ago) by greg
Content type: text/plain
Branch: MAIN
Log Message:
Moved tmesh.* files to library and fixed another compile error

File Contents

# Content
1 /* RCSid: $Id$ */
2 /*
3 * Header file for triangle mesh routines using barycentric coordinates
4 */
5
6 #define TCALNAME "tmesh.cal" /* the name of our auxiliary file */
7
8 typedef struct {
9 int ax; /* major axis */
10 FLOAT tm[2][3]; /* transformation */
11 } BARYCCM;
12
13 #ifndef COSTOL
14 #define COSTOL 0.99985 /* cosine of tolerance for smoothing */
15 #endif
16
17 /* flat_tri() return values */
18 #define ISBENT 0 /* is not flat */
19 #define ISFLAT 1 /* is flat */
20 #define RVBENT 2 /* reversed and not flat */
21 #define RVFLAT 3 /* reversed and flat */
22 #define DEGEN -1 /* degenerate (zero area) */