libbubulle/tools/objtrucs.h

23 lines
528 B
C
Raw Permalink Normal View History

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