Small harmless changes. Mostly cleaning up.
This commit is contained in:
parent
fce10a34fa
commit
6bd8470965
|
@ -28,9 +28,6 @@ struct MyUsedTypes : public UsedTypes< Use<MyVertex> ::AsVertexType,
|
|||
class MyVertex : public Vertex< MyUsedTypes, vertex::Coord3f>{};
|
||||
class MyFace : public Face< MyUsedTypes, face::VertexRef, face::BitFlags> {};
|
||||
|
||||
//class MyVertex : public vcg::Vertex< ScalarType, MyEdge, MyFace > {};
|
||||
//class MyFace : public vcg::Face< MyVertex, MyEdge, MyFace> {};
|
||||
|
||||
class MyMesh : public vcg::tri::TriMesh< std::vector< MyVertex>, std::vector< MyFace > > {};
|
||||
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ cmof.face.EnableFFAdjacency();
|
|||
|
||||
|
||||
printf("Normal of face 0 is %f %f %f\n\n",cm.face[0].N()[0],cm.face[0].N()[1],cm.face[0].N()[2]);
|
||||
int t0=0,t1=0,t2=0,t3=0;
|
||||
int t0=0,t1=0;
|
||||
while(t1-t0<200)
|
||||
{
|
||||
t0=clock();
|
||||
|
@ -69,7 +69,7 @@ cmof.face.EnableFFAdjacency();
|
|||
{
|
||||
float q =vi->Q();
|
||||
float r =vi->R();
|
||||
int ii = vi - cmof.vert.begin();
|
||||
// int ii = vcg::tri::Index(cmof, *vi);
|
||||
assert(q==r);
|
||||
}
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ cmof.face.EnableFFAdjacency();
|
|||
{
|
||||
float q =vi->Q();
|
||||
float r =vi->R();
|
||||
int ii = vi - cmof.vert.begin();
|
||||
// int ii = vcg::tri::Index(cmof, *vi);
|
||||
assert(q==r);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
TARGET = tridecimator
|
||||
LIBPATH +=
|
||||
DEPENDPATH += ../..
|
||||
INCLUDEPATH += . ../..
|
||||
CONFIG += console stl debug_and_release
|
||||
|
|
Loading…
Reference in New Issue