removed some commented lines

This commit is contained in:
Nico Pietroni 2012-10-16 15:29:00 +00:00
parent 9b0e2b2f88
commit 2477c1f7b9
2 changed files with 5 additions and 9 deletions

View File

@ -607,8 +607,8 @@ class PoissonSolver
vcg::Point2<ScalarType> uv=vcg::Point2<ScalarType>(U,V); vcg::Point2<ScalarType> uv=vcg::Point2<ScalarType>(U,V);
///assing ///assing
//f->realUV[k]=uv; //f->realUV[k]=uv;
ScalarType factor=(ScalarType)SIZEQUADS/(ScalarType)SIZEPARA; // ScalarType factor=(ScalarType)SIZEQUADS/(ScalarType)SIZEPARA;
uv*=factor; // uv*=factor;
///assing ///assing
f->WT(k).P()=uv; f->WT(k).P()=uv;
} }

View File

@ -5,6 +5,8 @@
#include <vcg/simplex/face/jumping_pos.h> #include <vcg/simplex/face/jumping_pos.h>
#include <vcg/simplex/face/topology.h> #include <vcg/simplex/face/topology.h>
struct SeamInfo struct SeamInfo
{ {
int v0,v0p,v1,v1p; int v0,v0p,v1,v1p;
@ -396,8 +398,6 @@ public:
IndexToVert.clear(); IndexToVert.clear();
duplicated.clear(); duplicated.clear();
//ClearMapping();
InitMappingSeam(); InitMappingSeam();
Handle_SystemInfo().num_vert_variables=Handle_SystemInfo().num_scalar_variables+1; Handle_SystemInfo().num_vert_variables=Handle_SystemInfo().num_scalar_variables+1;
@ -413,19 +413,15 @@ public:
{ {
FaceType *f=&mesh->face[j]; FaceType *f=&mesh->face[j];
if (f->IsD())continue; if (f->IsD())continue;
//f->IntegerVar.clear();
for (int k=0;k<3;k++) for (int k=0;k<3;k++)
{ {
//if (f->IsSeam(k)) if (Handle_Seams[f][k])
if (Handle_Seams[f][k])
{ {
//f->IntegerVar.push_back(num_integer_cuts);
Handle_Integer[j][k]=Handle_SystemInfo().num_integer_cuts; Handle_Integer[j][k]=Handle_SystemInfo().num_integer_cuts;
Handle_SystemInfo().num_integer_cuts++; Handle_SystemInfo().num_integer_cuts++;
} }
else else
Handle_Integer[j][k]=-1; Handle_Integer[j][k]=-1;
//f->IntegerVar.push_back(-1);
} }
} }
} }