6 #include <gmath/gmath.h>
8 #define MESH_ALL (0xffffffff)
34 unsigned int vbo_vertices;
35 unsigned int vbo_normals;
36 unsigned int vbo_texcoords;
37 unsigned int vbo_colors;
51 std::vector<uint16_t> indices;
52 std::vector<Vec3> vertices;
53 std::vector<Vec2> texcoords;
54 std::vector<Vec3> normals;
55 std::vector<Vec3> colors;
58 void update_vbo(unsigned int which);
63 std::vector<Mesh*> load_meshes(const char *fname);