read .OBJ file, first try
This commit is contained in:
5
tools/Makefile
Normal file
5
tools/Makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
BBFUNCS = ../libbubulles.a
|
||||
|
||||
read_obj: read_obj.c Makefile ${BBFUNCS}
|
||||
gcc -Wall $< ${BBFUNCS} -o $@
|
||||
25
tools/read_obj.c
Normal file
25
tools/read_obj.c
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user