max must begin with a capital M...
This commit is contained in:
parent
76f8093297
commit
5b921d1159
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue