diff --git a/wrap/io_tetramesh/import_ts.h b/wrap/io_tetramesh/import_ts.h index 7f58370b..666761d2 100644 --- a/wrap/io_tetramesh/import_ts.h +++ b/wrap/io_tetramesh/import_ts.h @@ -21,13 +21,13 @@ class ImporterTS{ static FILE *& F(){static FILE * f; return f;} - inline static ReadPos( Point3 &p){ + inline static void ReadPos( Point3 &p){ fscanf(F(),"%lg %lg %lg",&p[0],&p[1],&p[2]); } - inline static ReadPos( Point3 &p){ + inline static void ReadPos( Point3 &p){ fscanf(F(),"%f %f %f",&p[0],&p[1],&p[2]); } - inline static ReadPos( Point4 &p){ + inline static void ReadPos( Point4 &p){ fscanf(F(),"%g %g %g %g",&p[0],&p[1],&p[2],&p[3]); } public: @@ -81,6 +81,6 @@ static int Open( Tetramesh & m, const char * filename ) } };// end class };// end of io -};// end of tri +};// end of tetra };// end of vcg #endif