From b4bdd7b8327b39443a62399fb923604d2062b2c8 Mon Sep 17 00:00:00 2001 From: cignoni Date: Fri, 11 Sep 2015 05:56:59 +0000 Subject: [PATCH] better comments --- vcg/complex/algorithms/point_sampling.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/point_sampling.h b/vcg/complex/algorithms/point_sampling.h index 185d180c..ca511603 100644 --- a/vcg/complex/algorithms/point_sampling.h +++ b/vcg/complex/algorithms/point_sampling.h @@ -1421,7 +1421,8 @@ static VertexPointer getBestPrecomputedMontecarloSample(Point3i &cell, Montecarl return bestSample; } - +/// \brief Estimate the radius r that you should give to get a certain number of samples in a Poissson Disk Distribution of radius r. +/// static ScalarType ComputePoissonDiskRadius(MeshType &origMesh, int sampleNum) { ScalarType meshArea = Stat::ComputeMeshArea(origMesh);