diff --git a/tools/objtrucs.h b/tools/objtrucs.h index 0fa106b..a584132 100644 --- a/tools/objtrucs.h +++ b/tools/objtrucs.h @@ -13,6 +13,9 @@ typedef struct { int status; } EdgesAndVertices; -int x_write_vertedges(char *filename, BBList *bblist, EdgeList *edges); +/* in importobj.c */ +int try_to_read_an_OBJ_file(char *fname, int outstyle); +/* in rdwredges.c */ +int x_write_vertedges(char *filename, BBList *bblist, EdgeList *edges); int x_load_vertedges(char *filename, EdgesAndVertices *eav); diff --git a/tools/read_obj.c b/tools/read_obj.c index 3621b5a..23e9df7 100644 --- a/tools/read_obj.c +++ b/tools/read_obj.c @@ -7,9 +7,9 @@ #include // for basename(3) #include "../bubulles.h" +#include "../edges.h" -int try_to_read_an_OBJ_file(char *fname, int outstyle); - +#include "./objtrucs.h" int verbosity = 0;