Small compilation error (changed interface...)

(and other harmless warning removed)
This commit is contained in:
Paolo Cignoni 2017-03-02 10:12:11 +01:00
parent 5a29812d7b
commit 4fb8921130
4 changed files with 4 additions and 5 deletions

View File

@ -74,11 +74,11 @@ int main( int argc, char **argv )
tri::UpdateTopology<MyMesh>::VertexEdge(e);
tri::Clean<MyMesh>::SelectNonManifoldVertexOnEdgeMesh(e);
printf("Selected vertices %i\n",tri::UpdateSelection<MyMesh>::VertexCount(e));
printf("Selected vertices %lu\n",tri::UpdateSelection<MyMesh>::VertexCount(e));
tri::Clean<MyMesh>::SplitSelectedVertexOnEdgeMesh(e);
printf("Out mesh has %i vert %i edges\n",e.vn,e.en);
tri::Clean<MyMesh>::SelectCreaseVertexOnEdgeMesh(e,math::ToRad(30.f));
printf("Selected vertices %i\n",tri::UpdateSelection<MyMesh>::VertexCount(e));
printf("Selected vertices %lu\n",tri::UpdateSelection<MyMesh>::VertexCount(e));
tri::Clean<MyMesh>::SplitSelectedVertexOnEdgeMesh(e);
printf("Out mesh has %i vert %i edges\n",e.vn,e.en);

View File

@ -126,7 +126,7 @@ class PMesh: public
PMesh pm;
TMesh tm0;
int main(int argc, char *argv[]) {
int main(int /*argc*/, char *argv[]) {
int loadmask;

View File

@ -12,7 +12,6 @@ SUBDIRS = trimesh_base \
trimesh_edge \
trimesh_fitting \
trimesh_geodesic \
# trimesh_ext_mc \
trimesh_hole \
trimesh_inertia \
trimesh_intersection \

View File

@ -120,7 +120,7 @@ int main( int argc, char **argv )
// Now save the corner as Fixed Seeds for later...
std::vector<MyVertex *> fixedSeedVec;
tri::VoronoiProcessing<MyMesh>::SeedToVertexConversion(baseMesh,sampleVec,fixedSeedVec);
tri::VoronoiProcessing<MyMesh, tri::EuclideanDistance<MyMesh> >::FixVertexVector(baseMesh,fixedSeedVec);
tri::VoronoiProcessing<MyMesh, tri::EuclideanDistance<MyMesh> >::MarkVertexVectorAsFixed(baseMesh,fixedSeedVec);
vpp.preserveFixedSeed=true;
}