5 #include <QtOpenGL/QtOpenGL>
12 Mesh(std::vector<GLfloat> vertices, std::vector<GLuint> indices);
14 float min(size_t start) const;
15 float max(size_t start) const;
17 float xmin() const { return min(0); }
18 float ymin() const { return min(1); }
19 float zmin() const { return min(2); }
20 float xmax() const { return max(0); }
21 float ymax() const { return max(1); }
22 float zmax() const { return max(2); }
25 std::vector<GLfloat> vertices;
26 std::vector<GLuint> indices;