From 0839617d994592fb52a199c3b824e061c93388c5 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 31 Jan 2013 10:50:19 +0000 Subject: [PATCH] Corrected a small bug in the simpler wrapper for the generation of a poisson disk distribution over a mesh --- vcg/complex/algorithms/point_sampling.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/point_sampling.h b/vcg/complex/algorithms/point_sampling.h index e9664470..52eada91 100644 --- a/vcg/complex/algorithms/point_sampling.h +++ b/vcg/complex/algorithms/point_sampling.h @@ -1509,7 +1509,7 @@ void PoissonSampling(MeshType &m, // the mesh that has to be sampled int t1=clock(); pp.pds->montecarloTime = t1-t0; - tri::SurfaceSampling::PoissonDiskPruning(m, pdSampler, m, radius,pp); + tri::SurfaceSampling::PoissonDiskPruning(m, pdSampler, MontecarloMesh, radius,pp); int t2=clock(); pp.pds->totalTime = t2-t0; }