Corrected a wrong function to clear border face flag (and added BORDER012 to the enums of the flags)
This commit is contained in:
parent
e888ef1560
commit
69004410e3
|
@ -166,7 +166,7 @@ static void FaceSet(MeshType &m, unsigned int FlagMask)
|
||||||
static void VertexClearV(MeshType &m) { VertexClear(m,VertexType::VISITED);}
|
static void VertexClearV(MeshType &m) { VertexClear(m,VertexType::VISITED);}
|
||||||
static void VertexClearB(MeshType &m) { VertexClear(m,VertexType::BORDER);}
|
static void VertexClearB(MeshType &m) { VertexClear(m,VertexType::BORDER);}
|
||||||
static void FaceClearV(MeshType &m) { FaceClear(m,FaceType::VISITED);}
|
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 VertexSetV(MeshType &m) { VertexSet(m,VertexType::VISITED);}
|
||||||
static void VertexSetB(MeshType &m) { VertexSet(m,VertexType::BORDER);}
|
static void VertexSetB(MeshType &m) { VertexSet(m,VertexType::BORDER);}
|
||||||
|
|
|
@ -182,6 +182,7 @@ public:
|
||||||
BORDER0 = 0x00000040,
|
BORDER0 = 0x00000040,
|
||||||
BORDER1 = 0x00000080,
|
BORDER1 = 0x00000080,
|
||||||
BORDER2 = 0x00000100,
|
BORDER2 = 0x00000100,
|
||||||
|
BORDER012 = BORDER0 | BORDER1 | BORDER2 ,
|
||||||
// Face Orientation Flags, used efficiently compute point face distance
|
// Face Orientation Flags, used efficiently compute point face distance
|
||||||
NORMX = 0x00000200,
|
NORMX = 0x00000200,
|
||||||
NORMY = 0x00000400,
|
NORMY = 0x00000400,
|
||||||
|
|
Loading…
Reference in New Issue