Corrected a small bug in the simpler wrapper for the generation of a poisson disk distribution over a mesh
This commit is contained in:
parent
32423ca043
commit
0839617d99
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue