diff options
Diffstat (limited to 'assetFactory/factoryMesh.h')
-rw-r--r-- | assetFactory/factoryMesh.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/assetFactory/factoryMesh.h b/assetFactory/factoryMesh.h new file mode 100644 index 0000000..bbeb870 --- /dev/null +++ b/assetFactory/factoryMesh.h @@ -0,0 +1,18 @@ +#pragma once + +#include "gfx/models/mesh.h" +#include "stdTypeDefs.hpp" +#include "use.h" + +class FactoryMesh : public Persistence::Persistable, public StdTypeDefs<FactoryMesh> { +public: + Mesh::Ptr createMesh() const; + + std::string id; + glm::vec3 size; + Use::Collection uses; + +private: + friend Persistence::SelectionPtrBase<std::shared_ptr<FactoryMesh>>; + bool persist(Persistence::PersistenceStore & store) override; +}; |