6 #include <gmath/gmath.h>
8 #define MESH_ALL (0xffffffff)
32 unsigned int vbo_vertices;
33 unsigned int vbo_normals;
34 unsigned int vbo_colors;
48 std::vector<uint16_t> indices;
49 std::vector<Vec3> vertices;
50 std::vector<Vec3> normals;
51 std::vector<Vec3> colors;
54 void update_vbo(unsigned int which);
59 std::vector<Mesh*> load_meshes(const char *fname);