7 changed files with 65 additions and 2 deletions
@ -0,0 +1,26 @@
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
LIBBUBULLES |
||||
|
||||
some functions for importing bubulles from dot-OBJ files. |
||||
*/ |
||||
|
||||
#include <stdio.h> |
||||
#include <stdlib.h> |
||||
#include <string.h> |
||||
|
||||
#include "bubulles.h" |
||||
|
||||
/* --------------------------------------------------------------------- */ |
||||
|
||||
int try_to_read_an_OBJ_file(char *fname, int notused) |
||||
{ |
||||
FILE *fpin; |
||||
|
||||
#if DEBUG_LEVEL |
||||
fprintf(stderr, ">>> %s ( '%s' %d)\n", fname, notused); |
||||
#endif |
||||
|
||||
return -7800; |
||||
} |
||||
|
||||
/* --------------------------------------------------------------------- */ |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
|
||||
BBFUNCS = ../libbubulles.a |
||||
|
||||
read_obj: read_obj.c Makefile ${BBFUNCS} |
||||
gcc -Wall $< ${BBFUNCS} -o $@ |
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
tentatives de lecture des OBJ |
||||
*/ |
||||
|
||||
#include <stdio.h> |
||||
#include <stdlib.h> |
||||
#include "../bubulles.h" |
||||
|
||||
int main(int argc, char *argv[]) |
||||
{ |
||||
int foo; |
||||
|
||||
if (2 != argc) { |
||||
bubulles_version(1); |
||||
exit(0); |
||||
} |
||||
|
||||
|
||||
// foo = try_to_read_an_OBJ_file(argv[1], 0);
|
||||
|
||||
|
||||
|
||||
|
||||
return 0; |
||||
} |
Loading…
Reference in new issue