summaryrefslogtreecommitdiff
path: root/src/extend/mesh.h
blob: b9b07f826ea7e0a2b8a6c66f9e760e1937aade51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _SOFTSHADEROOM_MESH_H_
#define _SOFTSHADEROOM_MESH_H_

#include "../core/vert.h"

typedef struct Mesh {
	Vert* vertices; 
	uint vert_count;
	uint* triangles; 
	uint tris_count;
} Mesh;

Mesh* mesh_loadfromobj(const char* path);

#endif