diff options
author | Kyle K <kylek389@gmail.com> | 2010-10-16 14:29:44 -0500 |
---|---|---|
committer | Kamil Kaminski <kamilkss@gmail.com> | 2010-10-16 14:29:44 -0500 |
commit | 9e4401021950b72bbdf2e1db67ad393966bbd3df (patch) | |
tree | 30d3f4cb9a6852414b8c7e9d8cfc1596c5256db7 /obj.h | |
parent | 4f008bf699888b51f7888cbbc24cab711483ac4a (diff) | |
download | OBJLoader-9e4401021950b72bbdf2e1db67ad393966bbd3df.tar.gz OBJLoader-9e4401021950b72bbdf2e1db67ad393966bbd3df.tar.bz2 OBJLoader-9e4401021950b72bbdf2e1db67ad393966bbd3df.zip |
Cleanup some code
Diffstat (limited to 'obj.h')
-rw-r--r-- | obj.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |