minor gcc compilation issues

This commit is contained in:
Paolo Cignoni 2009-01-15 16:00:46 +00:00
parent 0a287f7bce
commit 957fb711ed
1 changed files with 4 additions and 4 deletions

View File

@ -679,9 +679,9 @@ static vcg::Point3<ScalarType> naiveProjection(vcg::Box3<ScalarType> box, std::v
{ {
vcg::Point3<ScalarType> p; vcg::Point3<ScalarType> p;
p = RandomBox(box); //p = RandomBox(box);
FaceIterator //FaceIterator
return p; return p;
} }
@ -759,7 +759,7 @@ static bool checkPoissonDisk(vcg::SpatialHashTable<VertexType, ScalarType> sht,
VertexType *v; VertexType *v;
VertexType d; VertexType d;
for (it = itBegin; it != itEnd; it++) for (it = itBegin; it != itEnd; ++it)
{ {
v = *it; v = *it;
if (Distance(v->P(),p) < radius) if (Distance(v->P(),p) < radius)
@ -883,7 +883,7 @@ static void Poissondisk(MetroMesh &m, VertexSampler &ps, int sampleNum, int vers
searchSHT.IPiToBox(*currentCell, currentBox); searchSHT.IPiToBox(*currentCell, currentBox);
faces.clear(); faces.clear();
for (cellIt = cellBegin; cellIt != cellEnd; cellIt++) for (cellIt = cellBegin; cellIt != cellEnd; ++cellIt)
{ {
faces.push_back(*cellIt); faces.push_back(*cellIt);
} }