libbubulle/tools/read_obj.c

28 lines
441 B
C
Raw Normal View History

2020-06-05 00:17:17 +02:00
/*
tentatives de lecture des OBJ
*/
#include <stdio.h>
#include <stdlib.h>
#include "../bubulles.h"
2022-05-21 13:41:20 +02:00
int try_to_read_an_OBJ_file(char *fname, char *outfname, int notused);
2020-06-05 01:05:01 +02:00
int verbosity;
2020-06-05 00:17:17 +02:00
int main(int argc, char *argv[])
{
int foo;
if (2 != argc) {
bubulles_version(1);
exit(0);
}
2023-03-28 14:50:40 +02:00
verbosity = 2;
2020-06-05 00:17:17 +02:00
2022-06-06 11:43:19 +02:00
foo = try_to_read_an_OBJ_file(argv[1], "bubulles.asc", 0);
2023-03-24 15:34:23 +01:00
fprintf(stderr, "try to read '%s' -> %d\n", argv [1], foo);
2020-06-05 00:17:17 +02:00
return 0;
}