Mostly complete from the Python original
This commit is contained in:
commit
97cf902b87
18 changed files with 527 additions and 0 deletions
12
src/loader.cpp
Normal file
12
src/loader.cpp
Normal 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));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue