summaryrefslogtreecommitdiffstats
path: root/obj.h
diff options
context:
space:
mode:
Diffstat (limited to 'obj.h')
-rw-r--r--obj.h6
1 files changed, 6 insertions, 0 deletions
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