changed m.HasFFTopology to HasFFTopology(m)
This commit is contained in:
parent
122f0412c8
commit
274e20b3df
|
@ -91,6 +91,7 @@ Initial commit
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <vcg/simplex/face/pos.h>
|
#include <vcg/simplex/face/pos.h>
|
||||||
|
#include <vcg/complex/trimesh/base.h>
|
||||||
namespace vcg {
|
namespace vcg {
|
||||||
namespace tri {
|
namespace tri {
|
||||||
/// \ingroup trimesh
|
/// \ingroup trimesh
|
||||||
|
@ -185,7 +186,7 @@ static void FillEdgeVector(MeshType &m, std::vector<PEdge> &e)
|
||||||
/// \brief Update the Face-Face topological relation by allowing to retrieve for each face what other faces shares their edges.
|
/// \brief Update the Face-Face topological relation by allowing to retrieve for each face what other faces shares their edges.
|
||||||
static void FaceFace(MeshType &m)
|
static void FaceFace(MeshType &m)
|
||||||
{
|
{
|
||||||
if(!m.HasFFTopology()) return;
|
assert(HasFFAdjacency(m));
|
||||||
if( m.fn == 0 ) return;
|
if( m.fn == 0 ) return;
|
||||||
|
|
||||||
std::vector<PEdge> e;
|
std::vector<PEdge> e;
|
||||||
|
|
Loading…
Reference in New Issue