removed useless mesh parameter in FFLinkCondition

This commit is contained in:
Paolo Cignoni 2014-02-12 10:58:38 +00:00
parent 171510a59b
commit d00d1b90e0
2 changed files with 2 additions and 2 deletions

View File

@ -610,7 +610,7 @@ static void ConvertVoronoiDiagramToMesh(MeshType &m,
{ {
// if(b0==b1) // if(b0==b1)
if(!seedVec[tri::Index(outMesh,fi->V(i))]->IsS()) 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))); printf("collapse %i\n",tri::Index(outMesh,fi->V(i)));
tri::io::ExporterPLY<MeshType>::Save(outMesh,"pre.ply"); tri::io::ExporterPLY<MeshType>::Save(outMesh,"pre.ply");

View File

@ -436,7 +436,7 @@ void SwapEdge(FaceType &f, const int z)
* *
*/ */
template <class MeshType> 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::FaceType FaceType;
typedef typename MeshType::VertexType VertexType; typedef typename MeshType::VertexType VertexType;