From 3d21fcba1dcf4abbf5b5f03198676369da18d9d9 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Mon, 23 Jun 2008 14:20:52 +0000 Subject: [PATCH] removed dependency on qt --- vcg/math/point_matching.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vcg/math/point_matching.h b/vcg/math/point_matching.h index b6f337a8..5e3f109b 100644 --- a/vcg/math/point_matching.h +++ b/vcg/math/point_matching.h @@ -65,7 +65,9 @@ static bool ComputeSimilarityMatchMatrix( Matrix44x &res, for(size_t i=0;i<( Pmov.size()-1);++i) { scalingFactor += Distance(Pmov[i],Pmov[i+1])/ Distance(Pfix[i],Pfix[i+1]); - qDebug("Scaling Factor is %f",scalingFactor/(i+1)); +#ifdef _DEBUG + printf("Scaling Factor is %f",scalingFactor/(i+1)); +#endif } scalingFactor/=(Pmov.size()-1);