From 8b69adbfbd20dde21c6d865e2352bb9be8062bd5 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 13 Dec 2007 17:57:33 +0000 Subject: [PATCH] removed harmless gcc warnings --- vcg/complex/trimesh/update/normal.h | 5 +++-- wrap/io_trimesh/import_obj.h | 5 ++++- wrap/io_trimesh/import_off.h | 11 +++++++---- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/vcg/complex/trimesh/update/normal.h b/vcg/complex/trimesh/update/normal.h index d9053ef4..5d499c3f 100644 --- a/vcg/complex/trimesh/update/normal.h +++ b/vcg/complex/trimesh/update/normal.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.17 2007/11/23 17:02:47 cignoni +disambiguated pow call (again) + Revision 1.16 2007/11/23 15:42:11 cignoni disambiguated pow call @@ -241,7 +244,6 @@ static void PerVertexNormalized(ComputeMeshType &m) /// multiply the vertex normals by the matrix passed. By default, the scale component is removed static void PerVertexMatrix(ComputeMeshType &m, const Matrix44 &mat, bool remove_scaling= true){ - float pos_33; float scale; Matrix33 mat33(mat,3); @@ -262,7 +264,6 @@ static void PerVertexMatrix(ComputeMeshType &m, const Matrix44 &mat, /// multiply the face normals by the matrix passed. By default, the scale component is removed static void PerFaceMatrix(ComputeMeshType &m, const Matrix44 &mat, bool remove_scaling= true){ - float pos_33; float scale; Matrix33 mat33(mat,3); diff --git a/wrap/io_trimesh/import_obj.h b/wrap/io_trimesh/import_obj.h index 1ea9b042..ae547a8a 100644 --- a/wrap/io_trimesh/import_obj.h +++ b/wrap/io_trimesh/import_obj.h @@ -25,6 +25,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.17 2007/10/17 09:49:50 cignoni +correct management of point only files + Revision 1.16 2007/07/20 14:49:46 cignoni Added in load mask the face color bit when there is a generic material used @@ -559,7 +562,7 @@ static int Open( OpenMeshType &m, const char * filename, Info &oi) // Now the final pass to convert indexes into pointers for face to vert/norm/tex references for(int i=0;i