From 0cad100f9d18501ef4c531bda371f3488eba93ae Mon Sep 17 00:00:00 2001 From: cignoni Date: Sun, 6 May 2012 14:20:34 +0000 Subject: [PATCH] corrected harmless gcc warnings --- vcg/complex/algorithms/point_sampling.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vcg/complex/algorithms/point_sampling.h b/vcg/complex/algorithms/point_sampling.h index 5e3fd792..fbc2cb71 100644 --- a/vcg/complex/algorithms/point_sampling.h +++ b/vcg/complex/algorithms/point_sampling.h @@ -1077,7 +1077,7 @@ static VertexPointer getPrecomputedMontecarloSample(Point3i &cell, MontecarloSHT } // check the radius constrain -static bool checkPoissonDisk(MetroMesh & vmesh, SampleSHT & sht, const Point3 & p, ScalarType radius) +static bool checkPoissonDisk(SampleSHT & sht, const Point3 & p, ScalarType radius) { // get the samples closest to the given one std::vector closests; @@ -1085,7 +1085,7 @@ static bool checkPoissonDisk(MetroMesh & vmesh, SampleSHT & sht, const Point3Q(); - if (checkPoissonDisk(*ps.m, checkSHT, sp->cP(), sampleRadius)) + if (checkPoissonDisk(checkSHT, sp->cP(), sampleRadius)) { ps.AddVert(*sp); montecarloSHT.RemoveCell(sp);