6 #include <gmath/gmath.h>
8 #define MESH_ALL (0xffffffff)
24 unsigned int vbo_vertices;
25 unsigned int vbo_normals;
26 unsigned int vbo_colors;
39 std::vector<uint16_t> indices;
40 std::vector<Vec3> vertices;
41 std::vector<Vec3> normals;
42 std::vector<Vec3> colors;
45 void update_vbo(unsigned int which);
50 std::vector<Mesh*> load_meshes(const char *fname);