better comments

This commit is contained in:
Paolo Cignoni 2014-08-23 01:36:16 +00:00
parent 6ba1493e3e
commit 855280fc08
1 changed files with 3 additions and 2 deletions

View File

@ -37,8 +37,8 @@ namespace tri {
/** /**
This class contains two members that allow to build a triangular mesh from a polygonal mesh This class contains two members that allow to build a triangular mesh from a polygonal mesh
and viceversa. In a trimesh, the generic polygons with n sides are codified represented by tagging the internal edge of the face and viceversa. In a trimesh, the generic polygons with n sides are codified represented by
with the SetF. tagging the internal edge of the face as 'faux' with the SetF.
*/ */
template <class TriMeshType,class PolyMeshType > template <class TriMeshType,class PolyMeshType >
@ -53,6 +53,7 @@ namespace tri {
/** /**
Given a tri mesh (with per-face normals and FF connectivity), Given a tri mesh (with per-face normals and FF connectivity),
merges flat faces into larger polygons. merges flat faces into larger polygons.
The merging is done only by setting the faux bit
**/ **/
static void MergeFlatFaces(TriMeshType & tm, double tolerance = 0.1E-4) static void MergeFlatFaces(TriMeshType & tm, double tolerance = 0.1E-4)
{ {