ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/tmesh.h
Revision: 2.3
Committed: Sat Feb 22 02:07:23 2003 UTC (21 years, 3 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 2.2: +1 -4 lines
Log Message:
Changes and check-in for 3.5 release
Includes new source files and modifications not recorded for many years
See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release

File Contents

# User Rev Content
1 greg 2.3 /* RCSid: $Id$ */
2 greg 2.1 /*
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 greg 2.2
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) */