removed harmless warnings

This commit is contained in:
Paolo Cignoni 2007-12-12 00:24:57 +00:00
parent 8177caa75c
commit a55cb3a77a
2 changed files with 3 additions and 2 deletions

View File

@ -194,7 +194,7 @@ typedef typename SaveMeshType::CoordType CoordType;
idtf.write(3,"MODEL_POSITION_LIST {");
vcg::tri::UpdateBounding<SaveMeshType>::Box(m);
ScalarType diag = m.bbox.Diag();
//ScalarType diag = m.bbox.Diag();
CoordType center = m.bbox.Center();
for(ConstVertexIterator vit = m.vert.begin();vit != m.vert.end();++vit)
{

View File

@ -83,6 +83,7 @@ namespace QtUtilityFunctions
{
if (file_path.size() > 0)
return file_path.at(file_path.size() - 1);
return QString();
}
}
@ -125,7 +126,7 @@ private:
return (int) t;
}
static void SaveLatex(SaveMeshType& m,const QString& file,const u3dparametersclasses::Movie15Parameters& mov_par)
static void SaveLatex(SaveMeshType& /*m*/,const QString& file,const u3dparametersclasses::Movie15Parameters& mov_par)
{
Output_File latex(file.toStdString() + ".tex");
QString u3df = file + ".u3d";