From 9e4401021950b72bbdf2e1db67ad393966bbd3df Mon Sep 17 00:00:00 2001 From: Kyle K Date: Sat, 16 Oct 2010 14:29:44 -0500 Subject: Cleanup some code --- obj.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'obj.h') diff --git a/obj.h b/obj.h index fd2c13a..25a5c8f 100644 --- a/obj.h +++ b/obj.h @@ -55,10 +55,16 @@ typedef struct /* function prototypes */ ObjModel *ObjLoadModel(char *, size_t); + /* read a file into argument 2, and return amount of bytes read */ size_t ObjLoadFile(char *, char **); + void ObjList(ObjModel *); + +/* once we load an .obj file, we can extract path up to last '/' to load a + * mtl or texture that resides in the same folder */ char *ObjGetPath(char *); + void ObjFree(ObjModel *); #endif -- cgit v1.2.3