Adding hash-based mesh loading (better big-O)

This commit is contained in:
Matt Keeter 2014-03-22 12:54:06 -04:00
parent 3cd76f9306
commit 51e25316e8
3 changed files with 62 additions and 0 deletions

View file

@ -11,6 +11,7 @@ class Mesh
public:
Mesh(std::vector<GLfloat> vertices, std::vector<GLuint> indices);
static Mesh* load_stl(const QString& filename);
static Mesh* load_stl_hash(const QString& filename);
float min(size_t start) const;
float max(size_t start) const;