Corrected a wrong function to clear border face flag (and added BORDER012 to the enums of the flags)

This commit is contained in:
Paolo Cignoni 2009-06-04 08:15:59 +00:00
parent e888ef1560
commit 69004410e3
2 changed files with 2 additions and 1 deletions

View File

@ -166,7 +166,7 @@ static void FaceSet(MeshType &m, unsigned int FlagMask)
static void VertexClearV(MeshType &m) { VertexClear(m,VertexType::VISITED);}
static void VertexClearB(MeshType &m) { VertexClear(m,VertexType::BORDER);}
static void FaceClearV(MeshType &m) { FaceClear(m,FaceType::VISITED);}
static void FaceClearB(MeshType &m) { FaceClear(m,FaceType::BORDER);}
static void FaceClearB(MeshType &m) { FaceClear(m,FaceType::BORDER012);}
static void VertexSetV(MeshType &m) { VertexSet(m,VertexType::VISITED);}
static void VertexSetB(MeshType &m) { VertexSet(m,VertexType::BORDER);}

View File

@ -182,6 +182,7 @@ public:
BORDER0 = 0x00000040,
BORDER1 = 0x00000080,
BORDER2 = 0x00000100,
BORDER012 = BORDER0 | BORDER1 | BORDER2 ,
// Face Orientation Flags, used efficiently compute point face distance
NORMX = 0x00000200,
NORMY = 0x00000400,