diff --git a/vcg/complex/trimesh/allocate.h b/vcg/complex/trimesh/allocate.h index d473954d..60018a21 100644 --- a/vcg/complex/trimesh/allocate.h +++ b/vcg/complex/trimesh/allocate.h @@ -209,7 +209,7 @@ namespace vcg { return v_ret; } - /* ++++++++++ edges +++++++++++++ + /* ++++++++++ edges +++++++++++++ */ /** Function to add n edges to the mesh. The second parameter hold a vector of pointers to pointer to elements of the mesh that should be updated after a possible vector realloc. @@ -287,7 +287,7 @@ namespace vcg { } - /* ++++++++++ hedges +++++++++++++ + /* ++++++++++ hedges +++++++++++++ */ /** Function to add n edges to the mesh. The second parameter hold a vector of pointers to pointer to elements of the mesh that should be updated after a possible vector realloc. diff --git a/vcg/complex/trimesh/clustering.h b/vcg/complex/trimesh/clustering.h index 06fc555f..bc5094db 100644 --- a/vcg/complex/trimesh/clustering.h +++ b/vcg/complex/trimesh/clustering.h @@ -130,7 +130,7 @@ class NearestToCenter typedef BasicGrid GridType; public: - inline void AddVertex(MeshType &m, GridType &g, Point3i &pi, VertexType &v) + inline void AddVertex(MeshType &/*m*/, GridType &g, Point3i &pi, VertexType &v) { CoordType c; g.IPiToBoxCenter(pi,c); @@ -186,7 +186,7 @@ class AverageColorCell n+=f.cN(); cnt++; } - inline void AddVertex(MeshType &m, GridType &g, Point3i &pi, VertexType &v) + inline void AddVertex(MeshType &/*m*/, GridType &/*g*/, Point3i &/*pi*/, VertexType &v) { p+=v.cP(); n+=v.cN(); diff --git a/vcg/complex/trimesh/create/resampler.h b/vcg/complex/trimesh/create/resampler.h index f70fddd0..f901eaff 100644 --- a/vcg/complex/trimesh/create/resampler.h +++ b/vcg/complex/trimesh/create/resampler.h @@ -148,7 +148,7 @@ template > expansion; typename std::vector ::iterator ifr; - face::VFIterator x;int k; + face::VFIterator x; VertexPointer pw; //Requirements diff --git a/vcg/complex/trimesh/point_sampling.h b/vcg/complex/trimesh/point_sampling.h index 6c119c3c..ac4dd77e 100644 --- a/vcg/complex/trimesh/point_sampling.h +++ b/vcg/complex/trimesh/point_sampling.h @@ -1040,7 +1040,7 @@ static void PoissonDiskPruning(MetroMesh &origMesh, VertexSampler &ps, MetroMesh std::random_shuffle(montecarloSHT.AllocatedCells.begin(),montecarloSHT.AllocatedCells.end(), p_myrandom); #ifdef QT_VERSION - qDebug("PDS: Completed creation of activeCells, %i cells (%i msec)", montecarloSHT.AllocatedCells.size(), tt.restart()); + qDebug("PDS: Completed creation of activeCells, %i cells (%i msec)", (int)montecarloSHT.AllocatedCells.size(), tt.restart()); #endif int removedCnt=0; if(pp.preGenFlag) @@ -1261,7 +1261,6 @@ static void RegularRecursiveOffset(MetroMesh & m, std::vector &pvec, Sc static void SubdivideAndSample(MetroMesh & m, std::vector &pvec, const Box3 bb, RRParam &rrp, float curDiag) { Point3f startPt = bb.Center(); - ScalarType bound; ScalarType dist; // Compute mesh point nearest to bb center diff --git a/vcg/space/index/octree_template.h b/vcg/space/index/octree_template.h index 89a4e5c6..e208d437 100644 --- a/vcg/space/index/octree_template.h +++ b/vcg/space/index/octree_template.h @@ -89,9 +89,9 @@ protected: this->level = (char) level; } - inline virtual NodePointer &Son(int sonIndex) = 0; + virtual NodePointer &Son(int sonIndex) = 0; - inline virtual bool IsLeaf() = 0; + virtual bool IsLeaf() = 0; // The position of the center of the node in integer coords in the 0..2^(2*sz) -1 range // The root has position (lsz/2,lsz/2,lsz/2)