diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-02-24 19:30:30 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-02-24 19:30:30 +0000 |
commit | 7d0decccaac3aa564b549d91a36279e7aca0814e (patch) | |
tree | 749ceff26556ed201a055b8d8a70636b50c562f7 /assetFactory/use.h | |
parent | Support for model colours mixed with textures (diff) | |
download | ilt-7d0decccaac3aa564b549d91a36279e7aca0814e.tar.bz2 ilt-7d0decccaac3aa564b549d91a36279e7aca0814e.tar.xz ilt-7d0decccaac3aa564b549d91a36279e7aca0814e.zip |
Support for recursive colouring of asset factory faces
Updates colours in sample model.
Diffstat (limited to 'assetFactory/use.h')
-rw-r--r-- | assetFactory/use.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assetFactory/use.h b/assetFactory/use.h index 853af23..5b61eca 100644 --- a/assetFactory/use.h +++ b/assetFactory/use.h @@ -5,15 +5,15 @@ #include "persistence.h" #include "shape.h" #include "stdTypeDefs.hpp" +#include "style.h" -class Use : public StdTypeDefs<Use>, public Mutation, public Persistence::Persistable { +class Use : public StdTypeDefs<Use>, public Mutation, public Style, public Persistence::Persistable { public: using FaceControllers = std::map<std::string, std::unique_ptr<FaceController>>; Shape::CreatedFaces createMesh(ModelFactoryMesh & mesh, const Mutation::Matrix & mutation) const; Shape::CPtr type; - std::string colour; FaceControllers faceControllers; private: |