Adding hash-based mesh loading (better big-O)
This commit is contained in:
parent
3cd76f9306
commit
51e25316e8
3 changed files with 62 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue