summaryrefslogtreecommitdiffstats
path: root/obj.h
diff options
context:
space:
mode:
Diffstat (limited to 'obj.h')
-rw-r--r--obj.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/obj.h b/obj.h
index b70f9f9..51acb3a 100644
--- a/obj.h
+++ b/obj.h
@@ -22,10 +22,9 @@ typedef struct
typedef struct
{
char *mtllib;
- char *o_name;
- char *g_name;
+ char *objectName;
+ char *groupName;
int nVertex, nNormal, nTexCoord, nFace;
-
ObjVertex *VertexArray;
ObjNormal *NormalArray;
ObjTexCoord *TexCoordArray;
@@ -36,6 +35,7 @@ typedef struct
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 *);
void ObjFree(ObjModel *);
#endif