diff options
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 |