libbubulle/tools/objtrucs.h

23 lines
515 B
C
Raw Normal View History

2023-04-09 20:13:56 +11:00
/*
* EXPERIMENTAL CODE !
2023-04-14 19:10:01 +11:00
*
2023-04-28 05:29:39 +11:00
* see 'rdwredges.c' for source code
* & 'export_evblob.c' for a usecase.
2023-04-09 20:13:56 +11:00
*/
2023-04-21 07:33:46 +11:00
#define EVBLOB_MAGIC (65872139)
2023-04-09 20:13:56 +11:00
typedef struct {
unsigned long magic;
BBList *Blist;
EdgeList *Elist;
int status;
2023-04-14 19:10:01 +11:00
} EdgesAndVertices;
2023-04-09 20:13:56 +11:00
/* in importobj.c */
int try_to_read_an_OBJ_file(char *fname, int outstyle);
2023-04-09 20:13:56 +11:00
/* in rdwredges.c */
2023-04-28 05:29:39 +11:00
int x_write_vertedges (char *filename, BBList *bblist, EdgeList *edges);
int x_load_vertedges (char *filename, EdgesAndVertices *eav);