commented debug printfs

This commit is contained in:
Luigi Malomo 2015-11-04 17:18:42 +00:00
parent a214eb3b66
commit 1480d19996
1 changed files with 2 additions and 2 deletions

View File

@ -677,7 +677,7 @@ static void EdgeMeshUniform(MeshType &m, VertexSampler &ps, float radius)
// Third loop actually perform the sampling.
int sampleNum = floor(totalLen / radius);
ScalarType sampleDist = totalLen/sampleNum;
printf("Found a chain of %f with %i samples every %f (%f)\n",totalLen,sampleNum,sampleDist,radius);
// printf("Found a chain of %f with %i samples every %f (%f)\n",totalLen,sampleNum,sampleDist,radius);
ScalarType curLen=0;
int sampleCnt=1;
@ -692,7 +692,7 @@ static void EdgeMeshUniform(MeshType &m, VertexSampler &ps, float radius)
while(d1>sampleCnt*sampleDist)
{
ScalarType off = (sampleCnt*sampleDist-d0) /edgeLen;
printf("edgeLen %f off %f samplecnt %i\n",edgeLen,off,sampleCnt);
// printf("edgeLen %f off %f samplecnt %i\n",edgeLen,off,sampleCnt);
ps.AddEdge(*(ep.E()),ep.VInd()==0?1.0-off:off);
sampleCnt++;
}