Namespace correction for max function

This commit is contained in:
Paolo Cignoni 2009-01-29 10:46:39 +00:00
parent d41a88bfe5
commit 76f8093297
1 changed files with 3 additions and 3 deletions

View File

@ -783,9 +783,9 @@ static void Poissondisk(MetroMesh &origMesh, VertexSampler &ps, MetroMesh &monte
// inflating
origMesh.bbox.Offset(cellsize);
int sizeX = max(1.0f,origMesh.bbox.DimX() / cellsize);
int sizeY = max(1.0f,origMesh.bbox.DimY() / cellsize);
int sizeZ = max(1.0f,origMesh.bbox.DimZ() / cellsize);
int sizeX = vcg::math::max(1.0f,origMesh.bbox.DimX() / cellsize);
int sizeY = vcg::math::max(1.0f,origMesh.bbox.DimY() / cellsize);
int sizeZ = vcg::math::max(1.0f,origMesh.bbox.DimZ() / cellsize);
Point3i gridsize(sizeX, sizeY, sizeZ);
qDebug("PDS: radius %f Grid:(%i %i %i) ",diskRadius,sizeX,sizeY,sizeZ);