2020-06-05 09:17:17 +11:00
|
|
|
/*
|
|
|
|
tentatives de lecture des OBJ
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include "../bubulles.h"
|
|
|
|
|
2022-05-21 22:41:20 +11:00
|
|
|
int try_to_read_an_OBJ_file(char *fname, char *outfname, int notused);
|
2020-06-05 10:05:01 +11:00
|
|
|
int verbosity;
|
|
|
|
|
2020-06-05 09:17:17 +11:00
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
int foo;
|
|
|
|
|
|
|
|
if (2 != argc) {
|
|
|
|
bubulles_version(1);
|
|
|
|
exit(0);
|
|
|
|
}
|
|
|
|
|
2022-06-06 20:43:19 +11:00
|
|
|
verbosity = 1;
|
2020-06-05 09:17:17 +11:00
|
|
|
|
2022-06-06 20:43:19 +11:00
|
|
|
foo = try_to_read_an_OBJ_file(argv[1], "bubulles.asc", 0);
|
2020-06-05 19:57:43 +11:00
|
|
|
fprintf(stderr, "try to read -> %d\n", foo);
|
2020-06-05 09:17:17 +11:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|