1 |
< |
/* Copyright (c) 1994 Regents of the University of California */ |
2 |
< |
|
3 |
< |
/* SCCSid "$SunId$ LBL" */ |
4 |
< |
|
1 |
> |
/* RCSid: $Id$ */ |
2 |
|
/* |
3 |
|
* Header file for triangle mesh routines using barycentric coordinates |
4 |
|
*/ |
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) */ |