diff --git a/wrap/io_trimesh/import_nvm.h b/wrap/io_trimesh/import_nvm.h index c9e8fe22..9741dca8 100644 --- a/wrap/io_trimesh/import_nvm.h +++ b/wrap/io_trimesh/import_nvm.h @@ -85,15 +85,6 @@ static bool ReadHeader(FILE *fp,unsigned int &num_cams){ return true; } -static bool ReadHeader(const char * filename,unsigned int &/*num_cams*/, unsigned int &/*num_points*/){ - FILE *fp = fopen(filename, "r"); - if(!fp) return false; - ReadHeader(fp); - fclose(fp); - return true; -} - - static int Open( OpenMeshType &m, std::vector > & shots, std::vector & image_filenames, const char * filename, CallBackPos *cb=0) diff --git a/wrap/io_trimesh/import_out.h b/wrap/io_trimesh/import_out.h index 01331bc5..88fabb10 100644 --- a/wrap/io_trimesh/import_out.h +++ b/wrap/io_trimesh/import_out.h @@ -85,15 +85,6 @@ static bool ReadHeader(FILE *fp,unsigned int &num_cams, unsigned int &num_points return true; } -static bool ReadHeader(const char * filename,unsigned int &/*num_cams*/, unsigned int &/*num_points*/){ - FILE *fp = fopen(filename, "r"); - if(!fp) return false; - ReadHeader(fp); - fclose(fp); - return true; -} - - static int Open( OpenMeshType &m, std::vector > & shots, std::vector & image_filenames, const char * filename,const char * filename_images, CallBackPos *cb=0)