Mostly complete from the Python original

This commit is contained in:
Matt Keeter 2014-03-03 21:14:16 -05:00
commit 97cf902b87
18 changed files with 527 additions and 0 deletions

12
src/loader.cpp Normal file
View file

@ -0,0 +1,12 @@
#include "loader.h"
#include "mesh.h"
Loader::Loader(QObject* parent, const QString& filename)
: QThread(parent), filename(filename)
{
}
void Loader::run()
{
emit got_mesh(Mesh::load_stl(filename));
}