Corrected a small bug in the simpler wrapper for the generation of a poisson disk distribution over a mesh

This commit is contained in:
Paolo Cignoni 2013-01-31 10:50:19 +00:00
parent 32423ca043
commit 0839617d99
1 changed files with 1 additions and 1 deletions

View File

@ -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<MeshType,BaseSampler>::PoissonDiskPruning(m, pdSampler, m, radius,pp);
tri::SurfaceSampling<MeshType,BaseSampler>::PoissonDiskPruning(m, pdSampler, MontecarloMesh, radius,pp);
int t2=clock();
pp.pds->totalTime = t2-t0;
}