max must begin with a capital M...

This commit is contained in:
Paolo Cignoni 2009-01-29 10:49:34 +00:00
parent 76f8093297
commit 5b921d1159
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 = 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);
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);