#ifndef WAVEFRONTOBJ_H #define WAVEFRONTOBJ_H #include #include "matrixMath.h" typedef struct { vec3 position; vec3 normal; vec2 texture; } vertex; typedef struct { vertex v1; vertex v2; vertex v3; } face; typedef struct { face* faces; GLuint length; } ParsedObjFile; extern ParsedObjFile readObjFile(char* path); extern void clearParsedFile(ParsedObjFile file); #endif