removed useless mesh parameter in FFLinkCondition
This commit is contained in:
parent
171510a59b
commit
d00d1b90e0
|
@ -610,7 +610,7 @@ static void ConvertVoronoiDiagramToMesh(MeshType &m,
|
|||
{
|
||||
// if(b0==b1)
|
||||
if(!seedVec[tri::Index(outMesh,fi->V(i))]->IsS())
|
||||
if(face::FFLinkCondition(outMesh, *fi, i))
|
||||
if(face::FFLinkCondition(*fi, i))
|
||||
{
|
||||
printf("collapse %i\n",tri::Index(outMesh,fi->V(i)));
|
||||
tri::io::ExporterPLY<MeshType>::Save(outMesh,"pre.ply");
|
||||
|
|
|
@ -436,7 +436,7 @@ void SwapEdge(FaceType &f, const int z)
|
|||
*
|
||||
*/
|
||||
template <class MeshType>
|
||||
bool FFLinkCondition(MeshType &m, typename MeshType::FaceType &f, const int z)
|
||||
bool FFLinkCondition(typename MeshType::FaceType &f, const int z)
|
||||
{
|
||||
typedef typename MeshType::FaceType FaceType;
|
||||
typedef typename MeshType::VertexType VertexType;
|
||||
|
|
Loading…
Reference in New Issue