From 8446dbc16845533aacaf5f7dc324a3f05b8dba57 Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 13 Mar 2013 00:16:51 +0000 Subject: [PATCH] corrected a wrong interface to poisson pruning (left after recent changes) --- vcg/complex/algorithms/point_sampling.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/point_sampling.h b/vcg/complex/algorithms/point_sampling.h index 7ba64ecd..e5ffaabb 100644 --- a/vcg/complex/algorithms/point_sampling.h +++ b/vcg/complex/algorithms/point_sampling.h @@ -42,6 +42,7 @@ sampling strategies (montecarlo, stratified etc). #include #include #include +#include #include #include @@ -1510,10 +1511,11 @@ void PoissonSampling(MeshType &m, // the mesh that has to be sampled tri::Allocator::AddVertices(MontecarloMesh,MontecarloSamples.size()); for(size_t i=0;i::Box(MontecarloMesh); int t1=clock(); pp.pds->montecarloTime = t1-t0; - tri::SurfaceSampling::PoissonDiskPruning(m, pdSampler, MontecarloMesh, radius,pp); + tri::SurfaceSampling::PoissonDiskPruning(pdSampler, MontecarloMesh, radius,pp); int t2=clock(); pp.pds->totalTime = t2-t0; }